mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-24 21:51:14 +03:00
translate mode win, update input layout, just a temporary workaround
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -218,7 +218,7 @@ impl VideoRenderer {
|
||||
}
|
||||
|
||||
pub fn on_rgba(&self, rgba: &Vec<u8>) {
|
||||
if self.ptr == usize::default() {
|
||||
if self.ptr == usize::default() || self.width == 0 || self.height == 0 {
|
||||
return;
|
||||
}
|
||||
if let Some(func) = &self.on_rgba_func {
|
||||
|
||||
Reference in New Issue
Block a user