rework input to be in line with rendering semantics
This commit is contained in:
1 parent
a22bcfd97e
commit
9da26638c8
13 files changed
+98
-130
No files matched your search
+1
-1
@@ -204,8 +204,8 @@ static void main_loop(void) {
|
||||
/* TODO: disable rendering pushes on not-last ? */
|
||||
render_queue_clear();
|
||||
poll_events();
|
||||
input_state_update(&ctx.input);
|
||||
game_object_tick();
|
||||
input_state_update(&ctx.input);
|
||||
preserve_persistent_ctx_fields();
|
||||
|
||||
ctx.frame_accumulator -= ctx.desired_frametime;
|
||||
|
||||
Reference in new issue
Block a user