debug win, without hwcodec

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2023-02-23 17:06:52 +08:00
1 parent 77c4a14845
commit 173e3bcd0d
5 files changed
+39 -21

No files matched your search

+4 -3
View File
@@ -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);
}
}