mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-09 19:50:13 +02:00
Texconv: Typo bug with conversion. Alpha threadhold was accidentially 5, should have been 0.5f.
This commit is contained in:
parent
61571870ae
commit
babaf73654
@ -816,7 +816,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
|||||||
goto LError;
|
goto LError;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr = Convert( image->GetImages(), image->GetImageCount(), image->GetMetadata(), tformat, dwFilter | dwSRGB, 05.f, *timage );
|
hr = Convert( image->GetImages(), image->GetImageCount(), image->GetMetadata(), tformat, dwFilter | dwSRGB, 0.5f, *timage );
|
||||||
if ( FAILED(hr) )
|
if ( FAILED(hr) )
|
||||||
{
|
{
|
||||||
wprintf( L" FAILED [convert] (%x)\n", hr);
|
wprintf( L" FAILED [convert] (%x)\n", hr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user