mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-08 13:56:13 +01:00
Some DDS DX10 writers set arryaSize to 0 instead of 1 (#490)
This commit is contained in:
@@ -397,7 +397,7 @@ namespace
|
||||
metadata.arraySize = d3d10ext->arraySize;
|
||||
if (metadata.arraySize == 0)
|
||||
{
|
||||
return HRESULT_E_INVALID_DATA;
|
||||
metadata.arraySize = 1;
|
||||
}
|
||||
|
||||
metadata.format = d3d10ext->dxgiFormat;
|
||||
|
||||
Reference in New Issue
Block a user