mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-25 23:32:20 -08:00
clean up ui box hierarchy rendering path, to eliminate duplicate node visits, causing a lot of extra dumb overdraw etc.
This commit is contained in:
1 parent
d1fde3c908
commit
f6e7db7c3a
3 files changed
+50
-320
No files matched your search
+2
-1
@@ -322,7 +322,8 @@ update_and_render(OS_Handle repaint_window_handle, void *user_data)
|
||||
}
|
||||
|
||||
//- rjf: gather leftover events for subsequent frame
|
||||
if(events.count != 0)
|
||||
// TODO(rjf): need to prevent spurious unconsumed events in UI layer & other event handling paths
|
||||
if(events.count != 0 && 0)
|
||||
{
|
||||
arena_clear(leftover_events_arena);
|
||||
leftover_events = os_event_list_copy(leftover_events_arena, &events);
|
||||
|
||||
Reference in new issue
Block a user