summaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'text.h')
-rw-r--r--text.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/text.h b/text.h
index 0074448..01fc053 100644
--- a/text.h
+++ b/text.h
@@ -1,6 +1,9 @@
#ifndef TEXT_H_
#define TEXT_H_
+#include "base.h"
+#include "util.h"
+
// A text-rendering interface.
// Example usage:
// Font *font = text_font_load("font.ttf", 18);
@@ -73,6 +76,6 @@ void text_render(Font *font);
// TextRenderState state = text_render_state_default;
// (set a few options)
// text_render_with_state(font, &state, ...)
-const TextRenderState text_render_state_default;
+extern const TextRenderState text_render_state_default;
#endif