projects
/
xonotic
/
xonotic-maps.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96532a4
)
also allow textures/logos/* (only in logos.shader)
author
Rudolf Polzer <divverent@alientrap.org>
Mon, 1 Nov 2010 23:01:41 +0000
(
00:01
+0100)
committer
Rudolf Polzer <divverent@alientrap.org>
Mon, 1 Nov 2010 23:01:41 +0000
(
00:01
+0100)
scripts/shader-audit.sh
patch
|
blob
|
history
diff --git
a/scripts/shader-audit.sh
b/scripts/shader-audit.sh
index 348ccfca5c87c4888e21634273ec8444e9a49212..07a3c2bff9fcd78f1b055aa5e6f7edd55093d5bc 100755
(executable)
--- a/
scripts/shader-audit.sh
+++ b/
scripts/shader-audit.sh
@@
-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/screens/*)
+ textures/decals/*|textures/liquids_*/*|textures/effects_*/*|textures/screens/*
|textures/logos/*
)
pre=`echo "$1" | cut -d / -f 1-2`
case "$2" in
"$pre"/*)