mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-08 22:01:28 +03:00
fix build windows i686
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -897,9 +897,9 @@ pub fn handle_one_frame_encoded(
|
||||
|
||||
#[inline]
|
||||
fn get_original_resolution(display_name: &str, w: usize, h: usize) -> MessageField<Resolution> {
|
||||
#[cfg(target_os = "windows")]
|
||||
#[cfg(all(windows, feature = "virtual_display_driver"))]
|
||||
let is_virtual_display = crate::virtual_display_manager::is_virtual_display(&display_name);
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
#[cfg(not(all(windows, feature = "virtual_display_driver")))]
|
||||
let is_virtual_display = false;
|
||||
Some(if is_virtual_display {
|
||||
Resolution {
|
||||
|
||||
Reference in New Issue
Block a user