mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-10 22:56:14 +01:00
DirectXTex: Minor code review fixes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user