Merge pull request #6260 from fufesou/fix/build_mobile

fix build
This commit is contained in:
RustDesk 2023-11-02 10:07:49 +08:00 committed by GitHub
commit a97fbb2d48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 _),