Просмотр исходного кода

Texturec: Fixed save as option.

Branimir Karadžić 7 лет назад
Родитель
Сommit
0355ace880
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tools/texturec/texturec.cpp

+ 1 - 1
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)
 		if (options.format == bimg::TextureFormat::Count)
 		{
 		{