From 155a83332f5e2fe6c82b64dd5e2e59fac8680ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4ger?= Date: Wed, 12 Jun 2024 16:56:07 +0200 Subject: [PATCH] Fix DX10 header arraySize when saving cubemaps. --- applications/_plugins/cimage/dds/dds_dx10.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/_plugins/cimage/dds/dds_dx10.cpp b/applications/_plugins/cimage/dds/dds_dx10.cpp index 3051cadf2..782b7915d 100644 --- a/applications/_plugins/cimage/dds/dds_dx10.cpp +++ b/applications/_plugins/cimage/dds/dds_dx10.cpp @@ -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 {