VulkanRenderer: Fix 2DArray texture type

This commit is contained in:
SirLynix 2022-12-03 11:48:08 +01:00 committed by Jérôme Leclercq
parent 39f206d60e
commit 6731e07b54
1 changed files with 0 additions and 1 deletions

View File

@ -69,7 +69,6 @@ namespace Nz
NazaraAssert(textureInfo.depth == 1, "Depth must be one");
NazaraAssert(textureInfo.layerCount > 0, "Array count must be over zero");
createInfo.flags |= VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT;
createInfo.imageType = VK_IMAGE_TYPE_2D;
createInfoView.viewType = VK_IMAGE_VIEW_TYPE_2D_ARRAY;
break;