We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c18b15b commit 0c703f3Copy full SHA for 0c703f3
DirectXTex/DirectXTexDDS.cpp
@@ -2731,7 +2731,7 @@ HRESULT DirectX::SaveToDDSFile(
2731
return E_FAIL;
2732
#endif
2733
2734
- const bool use24bpp = ((metadata.format == DXGI_FORMAT_B8G8R8X8_UNORM)
+ const bool use24bpp = ((metadata.format == DXGI_FORMAT_B8G8R8X8_UNORM)
2735
&& (flags & DDS_FLAGS_FORCE_24BPP_RGB)
2736
&& !(flags & (DDS_FLAGS_FORCE_DX10_EXT | DDS_FLAGS_FORCE_DX10_EXT_MISC2))) != 0;
2737
0 commit comments