Cull lister render
This commit is contained in:
parent
051b5068e5
commit
01a06a59c7
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue