diff --git a/src/d3d11/d3d11_texture.cpp b/src/d3d11/d3d11_texture.cpp index ed74e0fc..19d3fbe3 100644 --- a/src/d3d11/d3d11_texture.cpp +++ b/src/d3d11/d3d11_texture.cpp @@ -274,7 +274,7 @@ namespace dxvk { HRESULT D3D11CommonTexture::NormalizeTextureProperties(D3D11_COMMON_TEXTURE_DESC* pDesc) { - if (pDesc->Width == 0 || pDesc->Height == 0 || pDesc->Depth == 0) + if (pDesc->Width == 0 || pDesc->Height == 0 || pDesc->Depth == 0 || pDesc->ArraySize == 0) return E_INVALIDARG; if (FAILED(DecodeSampleCount(pDesc->SampleDesc.Count, nullptr)))