Always present acquired swapchain images

Always present acquired swapchain images in order to be able to acquire them again.

fix #865
This commit is contained in:
Lander Gallastegi 2024-09-16 01:06:34 +02:00
parent f97f73f0b5
commit 74498463a3

View file

@ -107,9 +107,6 @@ bool Swapchain::AcquireNextImage() {
}
void Swapchain::Present() {
if (needs_recreation) {
return;
}
const vk::PresentInfoKHR present_info = {
.waitSemaphoreCount = 1,