summaryrefslogtreecommitdiff
path: root/src/systems/screenspace.h
diff options
context:
space:
mode:
authorJoshua Rowe <17525998+omnisci3nce@users.noreply.github.com>2024-05-20 10:50:11 +1000
committerGitHub <noreply@github.com>2024-05-20 10:50:11 +1000
commite904c22003c3a134201b222e6619e782fbe63947 (patch)
tree5295c8ce5f855ca4a0f1bebe50beee80bae66682 /src/systems/screenspace.h
parent02e84ee4d18e705e3362be1e327fdb6f1397a032 (diff)
parent73d4145f46d2305f45761b8e456df692d1962dfb (diff)
Merge pull request #14 from omnisci3nce/realign
Realign
Diffstat (limited to 'src/systems/screenspace.h')
-rw-r--r--src/systems/screenspace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systems/screenspace.h b/src/systems/screenspace.h
index 2250847..5f0c579 100644
--- a/src/systems/screenspace.h
+++ b/src/systems/screenspace.h
@@ -25,7 +25,7 @@ struct draw_circle {
/** @brief Tagged union that represents a UI shape to be drawn. */
typedef struct draw_cmd {
- enum { RECT, CIRCLE } draw_cmd_type;
+ enum { DRAW_RECT, CIRCLE } draw_cmd_type;
union {
struct draw_rect rect;
struct draw_circle circle;
@@ -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;