Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix build

fufesouc871af2711b2
diff --git a/src/flutter.rs b/src/flutter.rs
index 24c2149d5..8d77c9475 100644
--- a/src/flutter.rs
+++ b/src/flutter.rs
@@ -1521,6 +1521,7 @@ pub mod sessions {
s.switch_display(value[0]);
// Check if other displays are needed.
+ #[cfg(feature = "flutter_texture_render")]
if value.len() == 1 {
check_remove_unused_displays(
Some(value[0] as _),