mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-21 12:00:06 +00:00
DirectXTex: Minor code review fixes
This commit is contained in:
parent
9e6ea1f910
commit
171f49b741
@ -528,7 +528,7 @@ HRESULT _EncodeDDSHeader( const TexMetadata& metadata, DWORD flags,
|
||||
{
|
||||
case TEX_DIMENSION_TEXTURE1D:
|
||||
#ifdef _AMD64_
|
||||
if ( metadata.height > 0xFFFFFFFF )
|
||||
if ( metadata.width > 0xFFFFFFFF )
|
||||
return E_INVALIDARG;
|
||||
#endif
|
||||
|
||||
|
@ -338,7 +338,7 @@ void PrintUsage()
|
||||
wprintf( L" -hflip horizonal flip of source image\n");
|
||||
wprintf( L" -vflip vertical flip of source image\n");
|
||||
wprintf( L" -sepalpha resize/generate mips alpha channel separately from color channels\n");
|
||||
wprintf( L" -pmalpha convert final texture to premultiply alpha\n");
|
||||
wprintf( L" -pmalpha convert final texture to use premultiplied alpha\n");
|
||||
wprintf( L" -t{u|f} DDS files with TYPELESS format is treated as UNORM or FLOAT\n");
|
||||
wprintf( L" -dword Use DWORD instead of BYTE alignment (DDS input only)\n");
|
||||
wprintf( L" -dx10 Force use of 'DX10' extended header (DDS output only)\n");
|
||||
|
Loading…
Reference in New Issue
Block a user