From babaf73654bc502e374decf460b42ac3ae969cdd Mon Sep 17 00:00:00 2001 From: walbourn_cp Date: Mon, 20 Aug 2012 16:04:45 -0700 Subject: [PATCH] Texconv: Typo bug with conversion. Alpha threadhold was accidentially 5, should have been 0.5f. --- Texconv/texconv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Texconv/texconv.cpp b/Texconv/texconv.cpp index 5d7f457..dcbb298 100644 --- a/Texconv/texconv.cpp +++ b/Texconv/texconv.cpp @@ -816,7 +816,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[]) 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) ) { wprintf( L" FAILED [convert] (%x)\n", hr);