Skip to content

Commit

Permalink
Merge pull request #320 from NogginBops/master
Browse files Browse the repository at this point in the history
Fix DX10 header arraySize when saving cubemaps.
  • Loading branch information
NavNTCMP authored Jun 19, 2024
2 parents 7a8d93a + 155a833 commit f4b53d7
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 f4b53d7

Please sign in to comment.