summaryrefslogtreecommitdiff
path: root/engine/xe_swap_chain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engine/xe_swap_chain.cpp')
-rwxr-xr-xengine/xe_swap_chain.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/xe_swap_chain.cpp b/engine/xe_swap_chain.cpp
index c631209..f6b194d 100755
--- a/engine/xe_swap_chain.cpp
+++ b/engine/xe_swap_chain.cpp
@@ -88,7 +88,8 @@ VkResult SwapChain::submitCommandBuffers(
vkWaitForFences(device.device(), 1, &imagesInFlight[*imageIndex], VK_TRUE, UINT64_MAX);
}
- Model::submitDeleteQueue();
+ Model::submitDeleteQueue(false);
+ Image::submitDeleteQueue(false);
imagesInFlight[*imageIndex] = inFlightFences[currentFrame];