eliminate messages - too early for that change; eliminate many usage sites of d_ctrl_run; focus all ctrl thread driving code into one spot

This commit is contained in:
Ryan Fleury
2024-09-08 10:12:10 -07:00
parent 2cc81baffa
commit 6b172396f5
11 changed files with 103 additions and 3312 deletions
+1 -1
View File
@@ -805,7 +805,7 @@ ui_begin_build(OS_Handle window, UI_EventList *events, UI_IconInfo *icon_info, U
//- rjf: prune unused animation nodes
ProfScope("ui prune unused animation nodes")
{
for(UI_AnimNode *n = ui_state->lru_anim_node, *next = &ui_nil_anim_node; n != &ui_nil_anim_node; n = next)
for(UI_AnimNode *n = ui_state->lru_anim_node, *next = &ui_nil_anim_node; n != &ui_nil_anim_node && n != 0; n = next)
{
next = n->lru_next;
if(n->last_touched_build_index+1 < ui_state->build_index)