]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
compress-texture: when calling wine, unset $DISPLAY so it won't show a dialog box...
authorRudolf Polzer <divverent@alientrap.org>
Sat, 26 Jun 2010 20:21:56 +0000 (22:21 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 26 Jun 2010 20:21:56 +0000 (22:21 +0200)
misc/tools/compress-texture

index 9e8d662b30c50dee9e73f8c3b6e750c941664fba..0cafa5a2ea815e19dbf1f597e26517b743e39a87 100755 (executable)
@@ -25,7 +25,7 @@ case "$tool" in
                dir_dos="C:/${dir##*/}"
                ext=${src##*.}
                cp "$src" "$dir/src.$ext"
-               wine "$HOME/.wine/drive_c/Program Files/AMD/The Compressonator 1.50/TheCompressonator.exe" -convert -mipmaps "$dir_dos/src.$ext" "$dir_dos/dst.dds" $c $f "$@" -mipper BoxFilter.dll
+               DISPLAY= wine "$HOME/.wine/drive_c/Program Files/AMD/The Compressonator 1.50/TheCompressonator.exe" -convert -mipmaps "$dir_dos/src.$ext" "$dir_dos/dst.dds" $c $f "$@" -mipper BoxFilter.dll
                mv "$dir/dst.dds" "$dst"
                rm -rf "$dir"
                ;;