aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/glX_proto_send.py
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2016-03-24 13:57:58 -0400
committerAdam Jackson <[email protected]>2016-05-17 15:04:56 -0400
commitea08a5bcf6a670d2d6c67328414826a308d86e0d (patch)
tree4992bc2188991f5de597a1820a7af7369e9a7297 /src/mapi/glapi/gen/glX_proto_send.py
parent88cfc9ddaab5577260293fcbd4f7413fbd4aba21 (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_proto_send.py')
-rw-r--r--src/mapi/glapi/gen/glX_proto_send.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/glX_proto_send.py b/src/mapi/glapi/gen/glX_proto_send.py
index 8b3d8d756b8..10abcfff779 100644
--- a/src/mapi/glapi/gen/glX_proto_send.py
+++ b/src/mapi/glapi/gen/glX_proto_send.py
@@ -177,8 +177,6 @@ class PrintGlxProtoStubs(glX_proto_common.glx_print_proto):
print '#include <limits.h>'
print ''
- print '#define __GLX_PAD(n) (((n) + 3) & ~3)'
- print ''
self.printFastcall()
self.printNoinline()
print ''