summaryrefslogtreecommitdiff
path: root/src/systems/grid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/systems/grid.c')
-rw-r--r--src/systems/grid.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/systems/grid.c b/src/systems/grid.c
index 20e3657..256fab4 100644
--- a/src/systems/grid.c
+++ b/src/systems/grid.c
@@ -54,6 +54,11 @@ void Grid_Init(Grid_Storage* storage) {
storage->pipeline = GPU_GraphicsPipeline_Create(pipeline_desc, storage->renderpass);
}
-void Grid_Draw(Grid_Storage* storage) {
+void Grid_Draw() {
+ Grid_Storage* grid = Render_GetGridStorage();
+ Grid_Execute(grid);
+}
+void Grid_Execute(Grid_Storage *storage) {
+ // TODO: draw calls
} \ No newline at end of file