summaryrefslogtreecommitdiff
path: root/src/systems/text.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 12:00:37 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 12:00:37 +1000
commitd6837defc03e431517f6616ec8e49a8eb3643011 (patch)
tree14e6685c86d268dfc08f3f831e7ee9b19efc60e0 /src/systems/text.h
parent8dae0a94059bd21a5a10e4434cadc843126d8b05 (diff)
Start moving more files to using ral.h
Diffstat (limited to 'src/systems/text.h')
-rw-r--r--src/systems/text.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/systems/text.h b/src/systems/text.h
index 19248a6..4fac0b8 100644
--- a/src/systems/text.h
+++ b/src/systems/text.h
@@ -5,9 +5,11 @@
#include <stb_truetype.h>
+#include "cleanroom/types.h"
#include "darray.h"
#include "defines.h"
#include "render_types.h"
+#include "ral.h"
struct core;
@@ -29,7 +31,7 @@ KITC_DECL_TYPED_ARRAY(draw_text_packet)
typedef struct text_system_state {
font default_font;
- shader glyph_shader;
+ shader_handle glyph_shader;
u32 glyph_vbo;
u32 glyph_vao;
draw_text_packet_darray *draw_cmd_buf;