summaryrefslogtreecommitdiff
path: root/src/systems/grid.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-13 13:18:24 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-13 13:18:24 +1000
commit0c2f902238010903388b7d9a3af00979340eff2c (patch)
treeb718d72d8761769ec4aefbfd74cbb2d695f89741 /src/systems/grid.c
parent43d915b2ceb3f5e439c09c772e9ebc7542c1a2bb (diff)
add debug draw bbox and add topology to draw calls
Diffstat (limited to 'src/systems/grid.c')
-rw-r--r--src/systems/grid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systems/grid.c b/src/systems/grid.c
index 8a6f4f6..6e62a21 100644
--- a/src/systems/grid.c
+++ b/src/systems/grid.c
@@ -79,6 +79,6 @@ void Grid_Execute(Grid_Storage* storage) {
GPU_EncodeBindShaderData(enc, 0, Binding_Camera_GetLayout(&camera_data));
GPU_EncodeSetVertexBuffer(enc, storage->plane_vertices);
GPU_EncodeSetIndexBuffer(enc, storage->plane_indices);
- GPU_EncodeDrawIndexed(enc, 6);
+ GPU_EncodeDrawIndexedTris(enc, 6);
GPU_CmdEncoder_EndRender(enc);
}