summaryrefslogtreecommitdiff
path: root/src/new_render/render.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-31 10:33:32 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-31 10:33:32 +1000
commit0f703b8a5129acfa13c92ce79699d86833dcc561 (patch)
treebf18dc3263e8958d2a8cc7864f822ad21ed738b7 /src/new_render/render.c
parent0a60692230841cbcbbf67acba55d2dbb4730b6cb (diff)
grid draw/execute
Diffstat (limited to 'src/new_render/render.c')
-rw-r--r--src/new_render/render.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/new_render/render.c b/src/new_render/render.c
index 54ea32a..f83e573 100644
--- a/src/new_render/render.c
+++ b/src/new_render/render.c
@@ -314,6 +314,11 @@ Terrain_Storage* Render_GetTerrainStorage() {
return ren->terrain;
}
+Grid_Storage* Render_GetGridStorage() {
+ Renderer* ren = Core_GetRenderer(&g_core);
+ return ren->grid;
+}
+
TextureHandle Render_GetWhiteTexture() {
Renderer* ren = Core_GetRenderer(&g_core);
return ren->white_1x1;