diff options
Diffstat (limited to 'src/render/pbr.c')
-rw-r--r-- | src/render/pbr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/pbr.c b/src/render/pbr.c index 1a7b4de..fbdacac 100644 --- a/src/render/pbr.c +++ b/src/render/pbr.c @@ -120,7 +120,7 @@ void PBR_Execute(PBR_Storage* storage, Camera camera, TextureHandle shadowmap_te GPU_EncodeSetVertexBuffer(enc, mesh->vertex_buffer); GPU_EncodeSetIndexBuffer(enc, mesh->index_buffer); // draw - GPU_EncodeDrawIndexed(enc, mesh->geometry.index_count); + GPU_EncodeDrawIndexedTris(enc, mesh->geometry.index_count); } GPU_CmdEncoder_EndRender(enc); |