camera reset and default state

This commit is contained in:
veclavtalica
2025-02-02 01:41:02 +03:00
parent dfd888a80a
commit 2120f6876c
3 changed files with 5 additions and 3 deletions

View File

@ -211,7 +211,7 @@ static void main_loop(void) {
while (ctx.frame_accumulator >= ctx.desired_frametime) {
frames += 1;
/* TODO: disable rendering pushes on not-last ? */
render_queue_clear();
render_clear();
poll_events();
if (ctx.window_size_has_changed)
update_viewport();