1
0
Fork 0
forked from wry/wry

backend: fix bug that mistakeningly selected wrong render device

This commit is contained in:
kossLAN 2026-04-06 22:19:32 -04:00
parent 381c5f8478
commit 149801520a
No known key found for this signature in database
3 changed files with 10 additions and 0 deletions

View file

@ -585,6 +585,9 @@ pub trait BackendDrmDevice {
fn direct_scanout_enabled(&self) -> bool {
false
}
fn gfx_fast_ram_access(&self) -> bool {
false
}
fn create_lease(
self: Rc<Self>,
lessee: Rc<dyn BackendDrmLessee>,