summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authoraura <nw@moneybot.cc>2026-03-10 05:18:33 +0100
committeraura <nw@moneybot.cc>2026-03-10 05:18:33 +0100
commit30151d75dddd651faa1b27148a052ced7d0f190a (patch)
tree30b9374d59ecdd83296f7a2b7aa008340b95daf5 /src/game.h
parent31b77ed2e0c037e5718b9ecd06d3941600cc8815 (diff)
2d batch rendering
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
index f0e1957..862234b 100644
--- a/src/game.h
+++ b/src/game.h
@@ -5,6 +5,7 @@
#include "game/assets.h"
#include "render/gl.h"
+#include "render/gl_2d.h"
#include "render/gl_3d.h"
#ifdef IS_EDITOR
@@ -27,6 +28,7 @@ typedef struct {
typedef struct {
GL_BATCH3D* batch_3d;
+ GL_BATCH2D* batch_2d;
} GAME_RENDER;
typedef struct {