mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-02 03:58:11 +00:00
set up interaction register push/pops for windows & views; use to implement top-level cursor-breakpoint operations; more convergence with new unified src view path
This commit is contained in:
@@ -343,7 +343,13 @@ update_and_render(OS_Handle repaint_window_handle, void *user_data)
|
||||
d_begin_frame();
|
||||
for(DF_Window *w = df_gfx_state->first_window; w != 0; w = w->next)
|
||||
{
|
||||
df_push_interact_regs();
|
||||
df_window_update_and_render(scratch.arena, w, &cmds);
|
||||
DF_InteractRegs *window_regs = df_pop_interact_regs();
|
||||
if(os_window_is_focused(w->os))
|
||||
{
|
||||
MemoryCopyStruct(df_interact_regs(), window_regs);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user