DirectXTex updated with DDS_FLAGS_ALLOW_LARGE_FILES (#188)

This commit is contained in:
Chuck Walbourn
2020-07-09 14:13:38 -07:00
committed by GitHub
parent 81ab7997ec
commit d980fb6576
5 changed files with 26 additions and 5 deletions

View File

@@ -592,7 +592,7 @@ namespace
if (_wcsicmp(ext, L".dds") == 0)
{
DDS_FLAGS ddsFlags = DDS_FLAGS_NONE;
DDS_FLAGS ddsFlags = DDS_FLAGS_ALLOW_LARGE_FILES;
if (dwOptions & (1 << OPT_DDS_DWORD_ALIGN))
ddsFlags |= DDS_FLAGS_LEGACY_DWORD;
if (dwOptions & (1 << OPT_EXPAND_LUMINANCE))