mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-10 03:21:37 -07:00
another checkpoint in moving previously engine-controlled behavior to frontend, and getting engine completely off d_entities
This commit is contained in:
+3
-1
@@ -810,6 +810,9 @@ ui_begin_build(OS_Handle window, UI_EventList *events, UI_IconInfo *icon_info, U
|
||||
next = n->lru_next;
|
||||
if(n->last_touched_build_index+1 < ui_state->build_index)
|
||||
{
|
||||
U64 slot_idx = n->key.u64[0]%ui_state->anim_slots_count;
|
||||
UI_AnimSlot *slot = &ui_state->anim_slots[slot_idx];
|
||||
DLLRemove_NPZ(&ui_nil_anim_node, slot->first, slot->last, n, slot_next, slot_prev);;
|
||||
DLLRemove_NPZ(&ui_nil_anim_node, ui_state->lru_anim_node, ui_state->mru_anim_node, n, lru_next, lru_prev);
|
||||
SLLStackPush_N(ui_state->free_anim_node, n, slot_next);
|
||||
}
|
||||
@@ -2942,7 +2945,6 @@ ui_signal_from_box(UI_Box *box)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ProfEnd();
|
||||
return sig;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user