diff options
| author | realtradam <[email protected]> | 2023-04-24 00:50:24 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-04-24 00:50:24 -0400 |
| commit | c7d724e4f11abb335efcc0d58639a1b458b77019 (patch) | |
| tree | a0222fed2f77aa994232abf9df79351548db4e92 /src/rodeo.c | |
| parent | dcd867dc95d13e152716e12f6333796dfc84f4ef (diff) | |
| download | RodeoKit-c7d724e4f11abb335efcc0d58639a1b458b77019.tar.gz RodeoKit-c7d724e4f11abb335efcc0d58639a1b458b77019.zip | |
rework input system. first proper interation
Diffstat (limited to 'src/rodeo.c')
| -rw-r--r-- | src/rodeo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rodeo.c b/src/rodeo.c index dcac005..91ce4f8 100644 --- a/src/rodeo.c +++ b/src/rodeo.c @@ -306,6 +306,8 @@ rodeo_frame_begin(void) irodeo_render_buffer_transient_alloc(); + state.quit = rodeo_input_events_poll(); + state.start_frame = state.end_frame; } @@ -316,7 +318,6 @@ rodeo_frame_end(void) bgfx_frame(false); - state.quit = rodeo_input_events_poll(); #ifndef __EMSCRIPTEN__ irodeo_frame_stall(); #endif |
