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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user