Cull lister render

This commit is contained in:
Peter Slattery 2025-07-07 14:07:26 -07:00
parent 051b5068e5
commit 01a06a59c7
1 changed files with 68 additions and 67 deletions

View File

@ -298,6 +298,7 @@ lister_render(Application_Links *app, Frame_Info frame_info, View_ID view){
for (i32 i = first_index; i < count; i += 1){ for (i32 i = first_index; i < count; i += 1){
Lister_Node *node = lister->filtered.node_ptrs[i]; Lister_Node *node = lister->filtered.node_ptrs[i];
if (y_pos >= region.y1) break;
Range_f32 y = If32(y_pos, y_pos + block_height); Range_f32 y = If32(y_pos, y_pos + block_height);
y_pos = y.max; y_pos = y.max;