]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
shader-audit: support screens.shader too
authorRudolf Polzer <divverent@alientrap.org>
Mon, 1 Nov 2010 21:04:25 +0000 (22:04 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 1 Nov 2010 21:04:25 +0000 (22:04 +0100)
scripts/shader-audit.sh

index 0abbd1b0122abda9f6c109e0374fea97bc2630ac..348ccfca5c87c4888e21634273ec8444e9a49212 100755 (executable)
@@ -149,7 +149,7 @@ use_texture()
                        esac
                        ;;
                ## RULE: textures/FOO/* must use textures/FOO/*, for FOO in decals, liquids_water, liquids_slime, liquids_lava
-               textures/decals/*|textures/liquids_*/*|textures/effects_*/*)
+               textures/decals/*|textures/liquids_*/*|textures/effects_*/*|textures/screens/*)
                        pre=`echo "$1" | cut -d / -f 1-2`
                        case "$2" in
                                "$pre"/*)