diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-27 12:00:37 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-27 12:00:37 +1000 |
commit | d6837defc03e431517f6616ec8e49a8eb3643011 (patch) | |
tree | 14e6685c86d268dfc08f3f831e7ee9b19efc60e0 /src/systems | |
parent | 8dae0a94059bd21a5a10e4434cadc843126d8b05 (diff) |
Start moving more files to using ral.h
Diffstat (limited to 'src/systems')
-rw-r--r-- | src/systems/screenspace.h | 2 | ||||
-rw-r--r-- | src/systems/text.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/systems/screenspace.h b/src/systems/screenspace.h index 2250847..f513148 100644 --- a/src/systems/screenspace.h +++ b/src/systems/screenspace.h @@ -37,7 +37,7 @@ KITC_DECL_TYPED_ARRAY(draw_cmd) typedef struct screenspace_state { u32 rect_vbo; u32 rect_vao; - shader rect_shader; + // shader rect_shader; draw_cmd_darray* draw_cmd_buf; } screenspace_state; 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; |