1
0
Fork 0
forked from wry/wry

vulkan: preserve framebuffer in pending frame

This commit is contained in:
Julian Orth 2025-02-21 11:14:01 +01:00
parent 1b46fd0ceb
commit cf6016f61f
5 changed files with 39 additions and 34 deletions

View file

@ -531,7 +531,7 @@ impl GfxFramebuffer for VulkanImage {
}
fn render_with_region(
&self,
self: Rc<Self>,
acquire_sync: AcquireSync,
release_sync: ReleaseSync,
ops: &[GfxApiOpt],
@ -539,7 +539,7 @@ impl GfxFramebuffer for VulkanImage {
region: &Region,
) -> Result<Option<SyncFile>, GfxError> {
self.renderer
.execute(self, acquire_sync, release_sync, ops, clear, region)
.execute(&self, acquire_sync, release_sync, ops, clear, region)
.map_err(|e| e.into())
}