fix: invalidate semantic materials on scene changes

This commit is contained in:
Samuel Onoja committed 2026-09-25 05:16:38 +01:00
1 parent ae6ec1c5f5
commit b3c5821e3b
4 files changed
+55 -19

No files matched your search

+1
View File
@@ -32,6 +32,7 @@ impl CompositorHandler for Ferese {
fn commit(&mut self, surface: &WlSurface) {
on_commit_buffer_handler::<Self>(surface);
self.invalidate_material_scene();
if !is_sync_subsurface(surface) {
let mut root = surface.clone();
while let Some(parent) = get_parent(&root) {