surface: dispatch frame request immediately if buffer has been presented
This commit is contained in:
parent
a6cf1a1b3d
commit
d8d6be1ef3
4 changed files with 45 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue