hw/xwin/glx: Update gen_gl_wrappers.py for the current glx/dispatch.h
Fix the code generator for the dispatch table initialization after the whitespace/coding style changes to glx/dispatch.h Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
cb638ed9c8
commit
6e85660c75
|
@ -67,7 +67,7 @@ if dispatchheader :
|
|||
fh = open(dispatchheader)
|
||||
dispatchh = fh.readlines()
|
||||
|
||||
dispatch_regex = re.compile(r'#define\sSET_(\S*)\(')
|
||||
dispatch_regex = re.compile(r'^SET_(\S*)\(')
|
||||
|
||||
for line in dispatchh :
|
||||
line = line.strip()
|
||||
|
|
Loading…
Reference in New Issue
Block a user