0
0
mirror of https://github.com/Ishan09811/pine.git synced 2025-04-28 01:25:09 +00:00

presentation_engine: don't throw exception if swapchain has higher image count than maximum slot count

This commit is contained in:
Ishan09811 2025-01-15 19:09:46 +05:30 committed by GitHub
parent ddaf3008cb
commit fe60aa8312
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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]};