layers: LX229, Fix swapchain layer imageArrayLayers caps check
diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp
index b067515..26c85fd 100644
--- a/layers/swapchain.cpp
+++ b/layers/swapchain.cpp
@@ -669,7 +669,7 @@
         }
         // Validate pCreateInfo->imageArraySize against
         // VkSurfaceCapabilitiesKHR::maxImageArraySize:
-        if (pCreateInfo->imageArrayLayers <= pCapabilities->maxImageArrayLayers) {
+        if (pCreateInfo->imageArrayLayers > pCapabilities->maxImageArrayLayers) {
             skipCall |= LOG_ERROR(VK_OBJECT_TYPE_DEVICE, device, "VkDevice",
                                   SWAPCHAIN_CREATE_SWAP_BAD_IMG_ARRAY_SIZE,
                                   "%s() called with a non-supported "