xgl.py: fix prototype paring
authorChia-I Wu <olv@lunarg.com>
Tue, 13 Jan 2015 03:03:58 +0000 (11:03 +0800)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 5 Feb 2015 00:58:05 +0000 (17:58 -0700)
Drop "xgl" prefix.

xgl.py

diff --git a/xgl.py b/xgl.py
index d84e4af..c7c03b8 100644 (file)
--- a/xgl.py
+++ b/xgl.py
@@ -898,7 +898,7 @@ def parse_xgl_h(filename):
     # parse proto_lines to protos
     protos = []
     for line in proto_lines:
-        first, rest = line.split(" (XGLAPI *")
+        first, rest = line.split(" (XGLAPI *xgl")
         second, third = rest.split("Type)(")
 
         # get the return type, no space before "*"