From ddc674a477784dd72fec95fcc16b7cd25a59051b Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 3 Sep 2011 12:39:16 +0200 Subject: [PATCH] more fixes --- scripts/shader-audit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index 4a0bb371..5de24bc4 100755 --- a/scripts/shader-audit.sh +++ b/scripts/shader-audit.sh @@ -90,7 +90,7 @@ use_texture() if [ x"$3" = x"map" ]; then lasttex=$2 if [ -n "$AUDIT_ALPHACHANNELS" ]; then - if [ -f "../${2}_norm.tga" ]; then + if [ -f "../${2}_norm.tga" ] || [ -f "../${2}_norm.png" ] || [ -f "../${2}_norm.jpg" ]; then case "$offsetmapping_match8" in '') # no dpoffsetmapping keyword getstats "../${2}_norm.tga" || getstats "../${2}_norm.png" || getstats "../${2}_norm.jpg" -- 2.39.2