summaryrefslogtreecommitdiff
path: root/src/new_render/render.c
diff options
context:
space:
mode:
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;