mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-17 17:42:22 -07:00
eliminate mid-frame calls into full update step via os_window_first_paint; pull up outside regular frontend frame boundaries; fixes incorrect per-frame dbgi scope usage
This commit is contained in:
+6
-12
@@ -8358,18 +8358,12 @@ df_window_update_and_render(Arena *arena, DF_Window *ws, DF_CmdList *cmds)
|
||||
|
||||
scratch_end(scratch);
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
//- rjf: show window after first frame
|
||||
//
|
||||
{
|
||||
if(ws->frames_alive == 0)
|
||||
{
|
||||
os_window_first_paint(ws->os);
|
||||
}
|
||||
ws->frames_alive += 1;
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////
|
||||
//- rjf: increment per-window frame counter
|
||||
//
|
||||
ws->frames_alive += 1;
|
||||
|
||||
ProfEnd();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user