diff --git a/DirectXTex/DirectXTexDDS.cpp b/DirectXTex/DirectXTexDDS.cpp index 141cac8..73af518 100644 --- a/DirectXTex/DirectXTexDDS.cpp +++ b/DirectXTex/DirectXTexDDS.cpp @@ -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 diff --git a/Texconv/texconv.cpp b/Texconv/texconv.cpp index 03f4d05..7863398 100644 --- a/Texconv/texconv.cpp +++ b/Texconv/texconv.cpp @@ -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");