diff options
author | Adam Jackson <[email protected]> | 2016-03-24 13:57:58 -0400 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2016-05-17 15:04:56 -0400 |
commit | ea08a5bcf6a670d2d6c67328414826a308d86e0d (patch) | |
tree | 4992bc2188991f5de597a1820a7af7369e9a7297 /src/mapi/glapi/gen/glX_XML.py | |
parent | 88cfc9ddaab5577260293fcbd4f7413fbd4aba21 (diff) |
glapi: Harden GLX request size processing (v2)
v2: Use == not is for equality testing (Dylan Baker)
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen/glX_XML.py')
-rw-r--r-- | src/mapi/glapi/gen/glX_XML.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/glX_XML.py b/src/mapi/glapi/gen/glX_XML.py index 12ff291fc1b..c659e931b49 100644 --- a/src/mapi/glapi/gen/glX_XML.py +++ b/src/mapi/glapi/gen/glX_XML.py @@ -357,7 +357,7 @@ class glx_function(gl_XML.gl_function): # FIXME adds some extra diffs to the generated # FIXME code. - size_string = size_string + " + __GLX_PAD(%s)" % (p.size_string(1)) + size_string = size_string + " + safe_pad(%s)" % (p.size_string(1)) return size_string |