From ee936800830a9654ab827635bd0a792756510833 Mon Sep 17 00:00:00 2001 From: ImperatorS79 Date: Wed, 8 Jul 2020 16:06:47 +0200 Subject: [PATCH] Fix arrayLayers not being correctly computed in VulkanTexture.cpp for ImageType_2D_array --- src/Nazara/VulkanRenderer/VulkanTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nazara/VulkanRenderer/VulkanTexture.cpp b/src/Nazara/VulkanRenderer/VulkanTexture.cpp index 55d71c3e6..968e1496e 100644 --- a/src/Nazara/VulkanRenderer/VulkanTexture.cpp +++ b/src/Nazara/VulkanRenderer/VulkanTexture.cpp @@ -88,7 +88,7 @@ namespace Nz createInfo.extent.width = params.width; createInfo.extent.height = params.height; createInfo.extent.depth = 1; - createInfo.arrayLayers = params.height; + createInfo.arrayLayers = params.depth; break; case ImageType_3D: