diff --git a/src/backend/renderer/gles/mod.rs b/src/backend/renderer/gles/mod.rs index eae24a0faa36..a59dd3cd1525 100644 --- a/src/backend/renderer/gles/mod.rs +++ b/src/backend/renderer/gles/mod.rs @@ -627,7 +627,6 @@ impl GlesRenderer { #[profiling::function] fn cleanup(&mut self) { - #[cfg(feature = "wayland_frontend")] self.dmabuf_cache.retain(|entry, _tex| !entry.is_gone()); // Free outdated buffer resources // TODO: Replace with `drain_filter` once it lands