vulkan: preserve framebuffer in pending frame
This commit is contained in:
parent
1b46fd0ceb
commit
cf6016f61f
5 changed files with 39 additions and 34 deletions
|
|
@ -100,14 +100,16 @@ impl GfxFramebuffer for Framebuffer {
|
|||
}
|
||||
|
||||
fn render_with_region(
|
||||
&self,
|
||||
self: Rc<Self>,
|
||||
acquire_sync: AcquireSync,
|
||||
_release_sync: ReleaseSync,
|
||||
ops: &[GfxApiOpt],
|
||||
clear: Option<&Color>,
|
||||
_region: &Region,
|
||||
) -> Result<Option<SyncFile>, GfxError> {
|
||||
self.render(acquire_sync, ops, clear).map_err(|e| e.into())
|
||||
(*self)
|
||||
.render(acquire_sync, ops, clear)
|
||||
.map_err(|e| e.into())
|
||||
}
|
||||
|
||||
fn format(&self) -> &'static Format {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue