mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 09:28:23 +00:00
fix vmware dxgi bug
This commit is contained in:
parent
6cfbbbc067
commit
12ff1e316e
1 changed files with 7 additions and 0 deletions
|
|
@ -288,6 +288,13 @@ fn run(sp: GenericService) -> ResultType<()> {
|
|||
*SWITCH.lock().unwrap() = true;
|
||||
bail!("SWITCH");
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
if !c.is_gdi() {
|
||||
c.set_gdi();
|
||||
log::info!("dxgi error, fall back to gdi: {:?}", err);
|
||||
continue;
|
||||
}
|
||||
|
||||
return Err(err.into());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue