maybe fixed jittering?

This commit is contained in:
awtterpip
2024-03-16 20:19:15 -05:00
parent b77bb954d0
commit 78c6cc2192
4 changed files with 35 additions and 31 deletions

View File

@@ -33,7 +33,7 @@ impl<'a> SwapchainSubImage<'a> {
pub fn swapchain(mut self, value: &'a XrSwapchain) -> Self {
graphics_match!(
&value.0;
swap => self.inner.swapchain = swap.as_raw()
swap => self.inner.swapchain = swap.lock().unwrap().as_raw()
);
self.swapchain = Some(value);
self