Skip to content

Commit

Permalink
Fix DX10 header arraySize when saving cubemaps.
Browse files Browse the repository at this point in the history
  • Loading branch information
NogginBops authored Jun 12, 2024
1 parent 7a8d93a commit 155a833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/_plugins/cimage/dds/dds_dx10.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ bool SetupDDSD10(DDS_HEADER_DDS10& HeaderDDS10, const MipSet* pMipSet)
{
HeaderDDS10.resourceDimension = D3D10_RESOURCE_DIMENSION_TEXTURE2D;
HeaderDDS10.miscFlag = D3D10_RESOURCE_MISC_TEXTURECUBE;
HeaderDDS10.arraySize = 6;
HeaderDDS10.arraySize = 1;
}
else
{
Expand Down

0 comments on commit 155a833

Please sign in to comment.