From: Andreas Hartmetz Date: Fri, 12 Jul 2013 09:49:39 +0000 (+0200) Subject: GLX: More consistent naming of an AttribArray. X-Git-Url: https://git.cworth.org/git?p=apitrace;a=commitdiff_plain;h=d06fb348d5daabcb99f06f7b743f9b958c28bcf2 GLX: More consistent naming of an AttribArray. --- diff --git a/specs/glxapi.py b/specs/glxapi.py index 28884a0..07ff361 100644 --- a/specs/glxapi.py +++ b/specs/glxapi.py @@ -266,7 +266,7 @@ GLXFBConfigGLXAttribs = GLXFBConfigCommonAttribs + [ GLXFBConfigAttribs = AttribArray(GLXEnum, GLXFBConfigGLXAttribs) GLXFBConfigSGIXAttribs = AttribArray(GLXEnum, GLXFBConfigCommonAttribs, isConst = False) -GLXContextAttribs = AttribArray(GLXEnum, [ +GLXContextARBAttribs = AttribArray(GLXEnum, [ ('GLX_CONTEXT_MAJOR_VERSION_ARB', Int), ('GLX_CONTEXT_MINOR_VERSION_ARB', Int), ('GLX_CONTEXT_FLAGS_ARB', Flags(Int, ["GLX_CONTEXT_DEBUG_BIT_ARB", "GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB"])), @@ -356,7 +356,7 @@ glxapi.addFunctions([ # GLX_ARB_create_context Function(GLXContext, "glXCreateContextAttribsARB", [(Display, "dpy"), (GLXFBConfig, "config"), (GLXContext, "share_context"), (Bool, "direct"), - (GLXContextAttribs, "attrib_list")]), + (GLXContextARBAttribs, "attrib_list")]), # GLX_SGI_swap_control Function(Int, "glXSwapIntervalSGI", [(Int, "interval")]),