Fixed a bug in generate_assets script

This commit is contained in:
Deve 2018-04-17 23:57:10 +02:00
parent c72cf74138
commit c23f1bbc5b

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