mirror of
https://github.com/microsoft/DirectXTex
synced 2024-12-29 12:41:07 +00:00
texconv: only emit non-pow2 warning if using -fl with a 9.x feature level
This commit is contained in:
parent
481fe3afe0
commit
4c5a4d3ee3
@ -1995,8 +1995,11 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
||||
}
|
||||
}
|
||||
|
||||
if ( nonpow2warn )
|
||||
if ( nonpow2warn && maxSize <= 4096 )
|
||||
{
|
||||
// Only emit this warning if ran with -fl set to a 9.x feature level
|
||||
wprintf( L"\n WARNING: Not all feature levels support non-power-of-2 textures with mipmaps\n" );
|
||||
}
|
||||
|
||||
if ( non4bc )
|
||||
wprintf( L"\n WARNING: Direct3D requires BC image to be multiple of 4 in width & height\n" );
|
||||
|
Loading…
Reference in New Issue
Block a user