X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fgltypes.py;h=17b4598e50e8e39313980880726a5a91282a6a7b;hb=b3b6d733ee93c9438e2d2fa8b490cb0690b74a2e;hp=5ea201a06584228c8af0dde5d55790ced3d62ebf;hpb=59ee88ea99b6de592b32d635e097a759b7f70e23;p=apitrace diff --git a/specs/gltypes.py b/specs/gltypes.py index 5ea201a..17b4598 100644 --- a/specs/gltypes.py +++ b/specs/gltypes.py @@ -116,11 +116,8 @@ GLenum = Enum("GLenum", [ ]) # Some functions take GLenum disguised as GLint, and need special treatment so -# that symbolic names are traced correctly. Apple noticed and fixed it in the -# gl.h header, which further complicates things. C++ typechecking rules force -# the wrappers to match the prototype precisely, so the precise type is defined -# in glimports.hpp -GLenum_int = Alias("GLenum_int", GLenum) +# that symbolic names are traced correctly. +GLenum_int = Alias("GLint", GLenum) GLenum_mode = FakeEnum(GLenum, [ "GL_POINTS", # 0x0000