diff options
Diffstat (limited to 'layers/swapchain.cpp')
| -rw-r--r-- | layers/swapchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp index e472c988..1f08e95e 100644 --- a/layers/swapchain.cpp +++ b/layers/swapchain.cpp @@ -1038,7 +1038,7 @@ GetDisplayPlaneSupportedDisplaysKHR(VkPhysicalDevice physicalDevice, uint32_t pl __FUNCTION__); } - if (pPhysicalDevice->gotDisplayPlanePropertyCount && planeIndex >= pPhysicalDevice->gotDisplayPlanePropertyCount) + if (pPhysicalDevice->gotDisplayPlanePropertyCount && planeIndex >= pPhysicalDevice->displayPlanePropertyCount) { skipCall |= LOG_ERROR(VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT, pPhysicalDevice->pInstance, "planeIndex", SWAPCHAIN_PLANE_INDEX_TOO_LARGE, |
