projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glx: GLX_MESA_multithread_makecurrent is direct-only
[mesa.git]
/
src
/
glx
/
tests
/
dispatch-index-check
diff --git
a/src/glx/tests/dispatch-index-check
b/src/glx/tests/dispatch-index-check
index baa09c5bd938f52b260c0fe0281e4fec16e9b060..d1d0731347beefda2f3a0e2e9d6220479882915a 100755
(executable)
--- a/
src/glx/tests/dispatch-index-check
+++ b/
src/glx/tests/dispatch-index-check
@@
-1,4
+1,10
@@
#!/usr/bin/env bash
+set -e
+
+if [ -z "$srcdir" ]
+then
+ srcdir=$(dirname "$0")
+fi
# extract enum definition
dispatch_list=$(sed '/__GLXdispatchIndex/,/__GLXdispatchIndex/!d' \