summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/text.h b/src/text.h
index efaad8f..2e768ee 100644
--- a/src/text.h
+++ b/src/text.h
@@ -1,9 +1,15 @@
#pragma once
+#include "cglm/types.h"
#include "freetype/freetype.h"
#include "sokol_gfx.h"
#include "utils.h"
+struct text_vertex_s {
+ vec2 pos;
+ vec2 uv;
+};
+
enum font_context_error_e : u8 {
FONT_CONTEXT_ERROR_NONE = 0,
FONT_CONTEXT_ERROR_LOAD_LIBRARY,