]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
shader audit: another fix
authorRudolf Polzer <divverent@alientrap.org>
Tue, 13 Sep 2011 11:19:39 +0000 (13:19 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 13 Sep 2011 11:19:39 +0000 (13:19 +0200)
scripts/shader-audit.sh

index ccb5f64bb4257005e36539537c61ef74a320f93c..587d14a7a4ece2f7ecaaa6dfd4fdf8db0f3f7f20 100755 (executable)
@@ -105,7 +105,7 @@ use_texture()
                                        default) # offsetmapping keyword without bias
                                                getstats "../${2}_norm.tga"
                                                if [ "$min" -eq "$max" ]; then
-                                                       echo "(EE) shader $1 uses broken normalmap ${2}_norm.tga, maybe use dpoffsetmapping none?"; seterror
+                                                       echo "(WW) shader $1 uses broken normalmap ${2}_norm.tga, maybe use dpoffsetmapping none?"; seterror
                                                else
                                                        echo "(EE) shader $1 uses ${2}_norm.tga but lacks median (add to dpoffsetmapping: match8 $median)"; seterror
                                                fi