mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix startup crash on windows without adapter (#7093)
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -323,7 +323,7 @@ impl GpuDecoder {
|
||||
.map(|c| c.d)
|
||||
.unwrap_or_default()
|
||||
.drain(..)
|
||||
.filter(|c| c.data_format == data_format && c.luid == luid)
|
||||
.filter(|c| c.data_format == data_format && c.luid == luid && luid != 0)
|
||||
.collect()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user