mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-26 13:35:00 -07:00
pipe through left-over OS events to subsequent frames; do not drop them
This commit is contained in:
+1
-2
@@ -10894,7 +10894,6 @@ df_gfx_init(OS_WindowRepaintFunctionType *window_repaint_entry_point, DF_StateDe
|
||||
Arena *arena = arena_alloc();
|
||||
df_gfx_state = push_array(arena, DF_GfxState, 1);
|
||||
df_gfx_state->arena = arena;
|
||||
df_gfx_state->frame_arena = arena_alloc();
|
||||
df_gfx_state->num_frames_requested = 2;
|
||||
df_gfx_state->hist = hist;
|
||||
df_gfx_state->key_map_arena = arena_alloc();
|
||||
@@ -10941,7 +10940,6 @@ internal void
|
||||
df_gfx_begin_frame(Arena *arena, DF_CmdList *cmds)
|
||||
{
|
||||
ProfBeginFunction();
|
||||
arena_clear(df_gfx_state->frame_arena);
|
||||
df_gfx_state->hover_line_set_this_frame = 0;
|
||||
|
||||
//- rjf: animate confirmation
|
||||
@@ -11087,6 +11085,7 @@ df_gfx_begin_frame(Arena *arena, DF_CmdList *cmds)
|
||||
arena_release(ws->hover_eval_arena);
|
||||
arena_release(ws->arena);
|
||||
SLLStackPush(df_gfx_state->free_window, ws);
|
||||
ws->gen += 1;
|
||||
}
|
||||
}
|
||||
}break;
|
||||
|
||||
@@ -662,7 +662,6 @@ struct DF_GfxState
|
||||
{
|
||||
// rjf: arenas
|
||||
Arena *arena;
|
||||
Arena *frame_arena;
|
||||
|
||||
// rjf: frame request state
|
||||
U64 num_frames_requested;
|
||||
|
||||
Reference in New Issue
Block a user