summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gfx/src/renderer/imm_renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/src/renderer/imm_renderer.c b/gfx/src/renderer/imm_renderer.c
index 87e7717..e8c0410 100644
--- a/gfx/src/renderer/imm_renderer.c
+++ b/gfx/src/renderer/imm_renderer.c
@@ -227,7 +227,7 @@ void gfx_imm_set_model_matrix(ImmRenderer* renderer, const mat4* model) {
227 assert(renderer); 227 assert(renderer);
228 assert(model); 228 assert(model);
229 imm_renderer_flush(renderer); 229 imm_renderer_flush(renderer);
230 renderer->matrix_stack[0] = mat4_id(); 230 renderer->matrix_stack[0] = *model;
231 renderer->stack_pointer = 0; 231 renderer->stack_pointer = 0;
232 update_shader_model_matrix(renderer); 232 update_shader_model_matrix(renderer);
233} 233}