Skip to content

Commit f6f7043

Browse files
author
devsh
committed
I have now seen 5 present modes out in the wild
1 parent 9ef424d commit f6f7043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nbl/video/CSurfaceVulkan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ bool ISurfaceVulkan::isSupportedForPhysicalDevice(const IPhysicalDevice* physica
6060

6161
core::bitflag<ISurface::E_PRESENT_MODE> ISurfaceVulkan::getAvailablePresentModesForPhysicalDevice(const IPhysicalDevice* physicalDevice) const
6262
{
63-
constexpr uint32_t MAX_PRESENT_MODE_COUNT = 4u;
63+
constexpr uint32_t MAX_PRESENT_MODE_COUNT = 5u;
6464

6565
core::bitflag<ISurface::E_PRESENT_MODE> result = ISurface::EPM_UNKNOWN;
6666

0 commit comments

Comments
 (0)