fix alpha channel auditing
[xonotic/xonotic-maps.pk3dir.git] / scripts / shader-audit.sh
index c006707..85d0e2a 100755 (executable)
@@ -27,7 +27,7 @@ forbidden_prefixes=
 
 getstats_e()
 {
-       identify -verbose -alpha extract -depth 8 "$1" | {
+       identify -verbose -alpha set -alpha extract -depth 8 "$1" | {
                pix=0
                while read -r L V R; do
                        case "$L" in