fp: Fix camera matrix not being set at beginning of frame

This commit is contained in:
doyle 2023-09-17 22:38:06 +10:00
parent 3637a24b87
commit f847f5b0d0

View File

@ -834,6 +834,7 @@ void TELY_DLL_FrameUpdate(void *user_data)
Dqn_FArray_Add(&game->parent_entity_stack, game->root_entity->handle);
Dqn_M2x3 model_view = FP_Game_CameraModelViewM2x3(game->camera, platform);
TELY_Render_PushTransform(renderer, model_view);
Dqn_V2 world_mouse_p = Dqn_M2x3_MulV2(model_view, input->mouse_p);
// =============================================================================================