wl_surface: dispatch presentation feedback via presented events
This commit is contained in:
parent
01331afc6d
commit
7800488555
9 changed files with 117 additions and 47 deletions
|
|
@ -237,9 +237,6 @@ impl MetalConnector {
|
|||
}
|
||||
}
|
||||
if let Err(e) = res {
|
||||
self.render_result
|
||||
.borrow_mut()
|
||||
.discard_presentation_feedback();
|
||||
if let MetalError::Commit(DrmError::Atomic(OsError(c::EACCES))) = e {
|
||||
log::debug!("Could not perform atomic commit, likely because we're no longer the DRM master");
|
||||
return Ok(());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue