mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-25 23:19:59 +00:00
debug win, without hwcodec
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
1 parent
77c4a14845
commit
173e3bcd0d
5 files changed
+39
-21
No files matched your search
+4
-3
@@ -529,9 +529,10 @@ pub fn session_switch_sides(id: String) {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn session_set_size(id: String, width: i32, height: i32) {
|
||||
if let Some(session) = SESSIONS.write().unwrap().get_mut(&id) {
|
||||
session.set_size(width, height);
|
||||
pub fn session_set_size(_id: String, _width: i32, _height: i32) {
|
||||
#[cfg(feature = "flutter_texture_render")]
|
||||
if let Some(session) = SESSIONS.write().unwrap().get_mut(&_id) {
|
||||
session.set_size(_width, _height);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user