privacy_mode_win_magnifier: fix crash when resolution changed

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-05-30 18:16:04 +08:00
parent 5182b96bda
commit 18ba55056f
3 changed files with 34 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
// Specify the Windows subsystem to eliminate console window.
// Requires Rust 1.18.
#![windows_subsystem = "windows"]
//#![windows_subsystem = "windows"]
use hbb_common::log;
use librustdesk::*;