Fix arrayLayers not being correctly computed in VulkanTexture.cpp for ImageType_2D_array

This commit is contained in:
ImperatorS79 2020-07-08 16:06:47 +02:00 committed by Jérôme Leclercq
parent e4c95da19a
commit ee93680083
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ namespace Nz
createInfo.extent.width = params.width; createInfo.extent.width = params.width;
createInfo.extent.height = params.height; createInfo.extent.height = params.height;
createInfo.extent.depth = 1; createInfo.extent.depth = 1;
createInfo.arrayLayers = params.height; createInfo.arrayLayers = params.depth;
break; break;
case ImageType_3D: case ImageType_3D: