]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/compress-texture
Work around imagemagick regression that puts everything upside down
[xonotic/xonotic.git] / misc / tools / compress-texture
index 418d8e5c40afa401ff93d9e42771008fd7708dd9..9d4fcc135eea9150de0b91996a017a2490e4dd53 100755 (executable)
@@ -50,7 +50,7 @@ esac
 
 if [ -n "$fourcchack" ]; then
        fourcchack_dir=`mktemp -d`
 
 if [ -n "$fourcchack" ]; then
        fourcchack_dir=`mktemp -d`
-       convert "$src" -fx "u*u.a" -type TrueColorMatte "$fourcchack_dir/src.$ext"
+       convert "$src" -auto-orient -fx "u*u.a" -type TrueColorMatte "$fourcchack_dir/src.$ext"
        src="$fourcchack_dir/src.$ext"
 fi
 
        src="$fourcchack_dir/src.$ext"
 fi