glapi: Harden GLX request size processing (v2)

v2: Use == not is for equality testing (Dylan Baker)

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson
2016-03-24 13:57:58 -04:00
parent 88cfc9ddaa
commit ea08a5bcf6
5 changed files with 13 additions and 19 deletions

View File

@@ -176,8 +176,6 @@ class PrintGlxProtoStubs(glX_proto_common.glx_print_proto):
print '#include <xcb/glx.h>'
print '#include <limits.h>'
print ''
print '#define __GLX_PAD(n) (((n) + 3) & ~3)'
print ''
self.printFastcall()
self.printNoinline()