1
0
Fork 0
forked from wry/wry

surface: dispatch frame request immediately if buffer has been presented

This commit is contained in:
Julian Orth 2024-07-10 23:23:24 +02:00
parent a6cf1a1b3d
commit d8d6be1ef3
4 changed files with 45 additions and 5 deletions

View file

@ -294,6 +294,11 @@ macro_rules! tree_id {
pub fn raw(&self) -> u32 {
self.0
}
#[allow(dead_code)]
pub fn none() -> Self {
Self(0)
}
}
impl std::fmt::Display for $id {