Skip to content

Commit

Permalink
remove swapchain debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Pelham committed Sep 15, 2024
1 parent 1bd6e65 commit 50c265d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,6 @@ void Window::frameRender(ImDrawData* drawData)
VkSemaphore renderCompleteSemaphore = imguiWindow->FrameSemaphores[imguiWindow->SemaphoreIndex].RenderCompleteSemaphore;
err = vkAcquireNextImageKHR(renderer->getDevice(), imguiWindow->Swapchain, UINT64_MAX, imageAcquiredSemaphore, VK_NULL_HANDLE, &imguiWindow->FrameIndex);
if (err == VK_ERROR_OUT_OF_DATE_KHR || err == VK_SUBOPTIMAL_KHR) {
fmt::print("Window::frameRender: Swapchain needs to be rebuilt.\n");
swapchainNeedRebuild = true;
return;
}
Expand Down Expand Up @@ -562,7 +561,6 @@ void Window::framePresent()

VkResult err = vkQueuePresentKHR(renderer->getQueue(), &info);
if (err == VK_ERROR_OUT_OF_DATE_KHR || err == VK_SUBOPTIMAL_KHR) {
fmt::print("Window::framePresent: Swapchain needs to be rebuilt.\n");
swapchainNeedRebuild = true;
return;
}
Expand Down

0 comments on commit 50c265d

Please sign in to comment.