X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fglxapi.py;h=f4e544c060cf7f7f9f2f68fd10c810e8d7157462;hb=940cdb8b143455fe2fc002ffd50f5e2ffcaf1260;hp=85699ead83c0b1a74904c2f8b240800f40149d38;hpb=e7cb2b98575d5ff3801bd3527a648e0dbfdebdad;p=apitrace diff --git a/specs/glxapi.py b/specs/glxapi.py index 85699ea..f4e544c 100644 --- a/specs/glxapi.py +++ b/specs/glxapi.py @@ -242,7 +242,7 @@ GLXbuffer = Flags(Int, [ "GLX_PBUFFER_CLOBBER_MASK", ]) -glxapi = API("GLX") +glxapi = Module("GLX") PROC = Opaque("__GLXextFuncPtr") @@ -270,9 +270,9 @@ glxapi.addFunctions([ Function(Void, "glXUseXFont", [(Font, "font"), (Int, "first"), (Int, "count"), (Int, "list")]), # GLX 1.1 and later - Function((ConstCString), "glXQueryExtensionsString", [(Display, "dpy"), (Int, "screen")]), - Function((ConstCString), "glXQueryServerString", [(Display, "dpy"), (Int, "screen"), (GLXname, "name")]), - Function((ConstCString), "glXGetClientString", [(Display, "dpy"), (GLXname, "name")]), + Function((ConstCString), "glXQueryExtensionsString", [(Display, "dpy"), (Int, "screen")], sideeffects=False), + Function((ConstCString), "glXQueryServerString", [(Display, "dpy"), (Int, "screen"), (GLXname, "name")], sideeffects=False), + Function((ConstCString), "glXGetClientString", [(Display, "dpy"), (GLXname, "name")], sideeffects=False), # GLX 1.2 and later Function(Display, "glXGetCurrentDisplay", [], sideeffects=False), @@ -385,7 +385,7 @@ glxapi.addFunctions([ # GLX_MESA_swap_control Function(Int, "glXSwapIntervalMESA", [(UInt, "interval")]), - Function(Int, "glXGetSwapIntervalMESA", []), + Function(Int, "glXGetSwapIntervalMESA", [], sideeffects=False), # GLX_OML_sync_control Function(Bool, "glXGetSyncValuesOML", [(Display, "dpy"), (GLXDrawable, "drawable"), (OpaquePointer(Int64), "ust"), (OpaquePointer(Int64), "msc"), (OpaquePointer(Int64), "sbc")]),