mirror of
https://github.com/microsoft/DirectXTex
synced 2024-12-29 12:41:07 +00:00
texconv: -bcmax and -bcquick are mutually exclusive switches
This commit is contained in:
parent
1b27a1b819
commit
c825869b65
@ -1204,10 +1204,22 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
||||
break;
|
||||
|
||||
case OPT_COMPRESS_MAX:
|
||||
if (dwCompress & TEX_COMPRESS_BC7_QUICK)
|
||||
{
|
||||
wprintf(L"Can't use -bcmax and -bcquick at same time\n\n");
|
||||
PrintUsage();
|
||||
return 1;
|
||||
}
|
||||
dwCompress |= TEX_COMPRESS_BC7_USE_3SUBSETS;
|
||||
break;
|
||||
|
||||
case OPT_COMPRESS_QUICK:
|
||||
if (dwCompress & TEX_COMPRESS_BC7_USE_3SUBSETS)
|
||||
{
|
||||
wprintf(L"Can't use -bcmax and -bcquick at same time\n\n");
|
||||
PrintUsage();
|
||||
return 1;
|
||||
}
|
||||
dwCompress |= TEX_COMPRESS_BC7_QUICK;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user