]> git.cworth.org Git - apitrace/blobdiff - specs/scripts/glparams.sed
Move all API specs to a separate dir.
[apitrace] / specs / scripts / glparams.sed
diff --git a/specs/scripts/glparams.sed b/specs/scripts/glparams.sed
new file mode 100644 (file)
index 0000000..8afde64
--- /dev/null
@@ -0,0 +1,2 @@
+s/^\s\+\(\w\+\)\s*=\s*\(0x\w\+\)\s\+#\s\+\([0-9]\+\)\s\+\([IF]\)\s*\(#.*\)\?$/    ("glGet",\t\4,\t\3,\t"GL_\1"),\t# \2/p
+s/^\s\+\(\w\+\)\s*=\s*\(0x\w\+\)\s*\(#.*\)\?$/    ("",\tX,\t1,\t"GL_\1"),\t# \2/p