From 870b9a9d1ddb670ffc9d62bdeef15664a198fa6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Fri, 5 Jan 2018 16:17:25 -0800 Subject: [PATCH] Cleanup. --- tools/texturec/texturec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/texturec/texturec.cpp b/tools/texturec/texturec.cpp index d86ca90..2105a70 100644 --- a/tools/texturec/texturec.cpp +++ b/tools/texturec/texturec.cpp @@ -217,7 +217,7 @@ bimg::ImageContainer* convert(bx::AllocatorI* _allocator, const void* _inputData return NULL; } - input = bimg::imageConvert(_allocator, outputFormat, *dst); + input = bimg::imageConvert(_allocator, inputFormat, *dst); bimg::imageFree(dst); }