aclysma / rafx

Multi-backend renderer with asset pipeline. The objective of this repo is to build a scalable, flexible, data driven renderer.
Apache License 2.0
640 stars 32 forks source link

Increment sync_frame_index and global_frame_index, even if we have an error returned from queue.submit() in do_present #225

Closed aclysma closed 2 years ago

aclysma commented 2 years ago

This doesn't fix the root cause of #223, and there may still be an issue with how errors are being handled (I'm wondering if this would leave a sync primitive in a permanently unsigned state, so maybe we need to tear down more of the swapchain in this case than we do currently.) But this seems like a reasonable improvement for now.