mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-13 13:40:14 +02: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:
|
case TEX_DIMENSION_TEXTURE1D:
|
||||||
#ifdef _AMD64_
|
#ifdef _AMD64_
|
||||||
if ( metadata.height > 0xFFFFFFFF )
|
if ( metadata.width > 0xFFFFFFFF )
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -338,7 +338,7 @@ void PrintUsage()
|
|||||||
wprintf( L" -hflip horizonal flip of source image\n");
|
wprintf( L" -hflip horizonal flip of source image\n");
|
||||||
wprintf( L" -vflip vertical 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" -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" -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" -dword Use DWORD instead of BYTE alignment (DDS input only)\n");
|
||||||
wprintf( L" -dx10 Force use of 'DX10' extended header (DDS output only)\n");
|
wprintf( L" -dx10 Force use of 'DX10' extended header (DDS output only)\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user