diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-31 10:33:32 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-31 10:33:32 +1000 |
commit | 0f703b8a5129acfa13c92ce79699d86833dcc561 (patch) | |
tree | bf18dc3263e8958d2a8cc7864f822ad21ed738b7 /src/systems/grid.c | |
parent | 0a60692230841cbcbbf67acba55d2dbb4730b6cb (diff) |
grid draw/execute
Diffstat (limited to 'src/systems/grid.c')
-rw-r--r-- | src/systems/grid.c | 7 |
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 |