From fe60aa83121981999327648e1fb253541002169c Mon Sep 17 00:00:00 2001 From: Ishan09811 <156402647+Ishan09811@users.noreply.github.com> Date: Wed, 15 Jan 2025 19:09:46 +0530 Subject: [PATCH] presentation_engine: don't throw exception if swapchain has higher image count than maximum slot count --- app/src/main/cpp/skyline/gpu/presentation_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/gpu/presentation_engine.cpp b/app/src/main/cpp/skyline/gpu/presentation_engine.cpp index 5e582ac4..d11c1463 100644 --- a/app/src/main/cpp/skyline/gpu/presentation_engine.cpp +++ b/app/src/main/cpp/skyline/gpu/presentation_engine.cpp @@ -361,7 +361,7 @@ namespace skyline::gpu { auto vkImages{vkSwapchain->getImages()}; if (vkImages.size() > MaxSwapchainImageCount) - throw exception("Swapchain has higher image count ({}) than maximum slot count ({})", minImageCount, MaxSwapchainImageCount); + LOGE("Swapchain has higher image count ({}) than maximum slot count ({})", vkImages.size(), MaxSwapchainImageCount); for (size_t index{}; index < vkImages.size(); index++) { auto &slot{images[index]};