Fixed a bug in generate_assets script

This commit is contained in:
Deve committed 2018-04-17 23:57:10 +02:00
1 parent c72cf74138
commit c23f1bbc5b
1 file changed
+3
+3
View File
@@ -180,6 +180,9 @@ convert_image()
echo "Couldn't convert $FILE file"
return
fi
SCALE_CMD=""
QUALITY_CMD=""
if [ $W -gt $TEXTURE_SIZE ] || [ $H -gt $TEXTURE_SIZE ]; then
if [ $W -gt $H ]; then