camera reset and default state

This commit is contained in:
veclavtalica committed 2025-02-02 01:41:02 +03:00
1 parent dfd888a80a
commit 2120f6876c
3 files changed
+5 -3

No files matched your search

+1 -1
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();