From 0355ace880065abe70b4528eee0803770f19395a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 14 Feb 2018 14:27:24 -0800 Subject: [PATCH] Texturec: Fixed save as option. --- 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 9038b55..091987f 100644 --- a/tools/texturec/texturec.cpp +++ b/tools/texturec/texturec.cpp @@ -772,7 +772,7 @@ int main(int _argc, const char* _argv[]) } } - if (NULL != bx::strFindI(outputFileName, ".png") ) + if (NULL != bx::strFindI(saveAs, "png") ) { if (options.format == bimg::TextureFormat::Count) {