projects
/
xonotic
/
xonotic.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f51b93c
)
has_alpha is not a conversion
author
Rudolf Polzer <divVerent@alientrap.org>
Thu, 5 Aug 2010 13:19:42 +0000
(15:19 +0200)
committer
Rudolf Polzer <divVerent@alientrap.org>
Thu, 5 Aug 2010 13:19:42 +0000
(15:19 +0200)
misc/tools/cached-converter.sh
patch
|
blob
|
history
diff --git
a/misc/tools/cached-converter.sh
b/misc/tools/cached-converter.sh
index 71709e5fe1b1f43b2e81f97c18f63a8fb97e3d09..c500136ff86b6ebeefd62cc35d31aa2882677cee 100755
(executable)
--- a/
misc/tools/cached-converter.sh
+++ b/
misc/tools/cached-converter.sh
@@
-172,6
+172,7
@@
for F in "$@"; do
;;
*.png|*.tga)
cached true has_alpha "$F" "" "$F.hasalpha" ""
+ conv=false
if [ -s "$F.hasalpha" ]; then
cached "$do_dds" reduce_rgba_dds "$F" "" "dds/${F%.*}.dds" "" "$dds_flags"
cached "$do_jpeg" reduce_rgba_jpeg2 "$F" "" "${F%.*}.jpg" "${F%.*}_alpha.jpg" "$jpeg_qual_rgb" "$jpeg_qual_a"