mirror of
https://github.com/Ishan09811/pine.git
synced 2025-04-28 09:35:08 +00:00
presentation_engine: don't throw exception if swapchain has higher image count than maximum slot count
This commit is contained in:
parent
ddaf3008cb
commit
fe60aa8312
@ -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]};
|
||||
|
Loading…
x
Reference in New Issue
Block a user