rework input to be in line with rendering semantics
This commit is contained in:
@ -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