mirror of
https://github.com/microsoft/UVAtlas
synced 2024-11-09 22:00:06 +00:00
uvatlas tool: Minor code cleanup
This commit is contained in:
parent
6651280be6
commit
2eb5648aeb
@ -938,7 +938,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
||||
ScratchImage floatImage;
|
||||
if (img->format != DXGI_FORMAT_R32G32B32A32_FLOAT)
|
||||
{
|
||||
hr = Convert(*iimage.GetImage(0, 0, 0), DXGI_FORMAT_R32G32B32A32_FLOAT, TEX_FILTER_DEFAULT, 0.5f, floatImage);
|
||||
hr = Convert(*iimage.GetImage(0, 0, 0), DXGI_FORMAT_R32G32B32A32_FLOAT, TEX_FILTER_DEFAULT, TEX_THRESHOLD_DEFAULT, floatImage);
|
||||
if (FAILED(hr))
|
||||
{
|
||||
img = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user