🐛 Fix cleaning nested fills

This commit is contained in:
Alejandro Alonso
2025-10-21 16:19:16 +02:00
parent 82e1a5003c
commit 69da63e01c

View File

@@ -926,6 +926,10 @@ impl RenderState {
self.pending_nodes self.pending_nodes
.reserve(tree.len() - self.pending_nodes.capacity()); .reserve(tree.len() - self.pending_nodes.capacity());
} }
// Clear nested state stacks to avoid residual fills/blurs from previous renders
// being incorrectly applied to new frames
self.nested_fills.clear();
self.nested_blurs.clear();
// reorder by distance to the center. // reorder by distance to the center.
self.current_tile = None; self.current_tile = None;
self.render_in_progress = true; self.render_in_progress = true;