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

@@ -1672,7 +1672,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
if (_wcsicmp(ext, L".dds") == 0)
{
DDS_FLAGS ddsFlags = DDS_FLAGS_NONE;
DDS_FLAGS ddsFlags = DDS_FLAGS_ALLOW_LARGE_FILES;
if (dwOptions & (DWORD64(1) << OPT_DDS_DWORD_ALIGN))
ddsFlags |= DDS_FLAGS_LEGACY_DWORD;
if (dwOptions & (DWORD64(1) << OPT_EXPAND_LUMINANCE))