From d4ff15d9cd82a6e3bc71da9d04ee0f250460cef1 Mon Sep 17 00:00:00 2001 From: Omniscient Date: Sun, 9 Jun 2024 14:55:53 +1000 Subject: fix cube --- src/renderer/render.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/renderer/render.c') diff --git a/src/renderer/render.c b/src/renderer/render.c index 5723c9e..7833ac9 100644 --- a/src/renderer/render.c +++ b/src/renderer/render.c @@ -161,6 +161,7 @@ void draw_mesh(mesh* mesh, mat4* model) { // , mat4* view, mat4* proj) { } // Assume this has already been done /* encode_bind_shader_data(enc, 0, &mvp_uniforms_data); */ + encode_draw_indexed(enc, mesh->index_count); } -- cgit v1.2.3-70-g09d2