Branimir Karadžić 8 years ago
parent
commit
870b9a9d1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/texturec/texturec.cpp

+ 1 - 1
tools/texturec/texturec.cpp

@@ -217,7 +217,7 @@ bimg::ImageContainer* convert(bx::AllocatorI* _allocator, const void* _inputData
 				return NULL;
 				return NULL;
 			}
 			}
 
 
-			input = bimg::imageConvert(_allocator, outputFormat, *dst);
+			input = bimg::imageConvert(_allocator, inputFormat, *dst);
 			bimg::imageFree(dst);
 			bimg::imageFree(dst);
 		}
 		}