X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fcglapi.py;h=fbae1b149eecd539d171845a9aac963f868940b6;hb=bcfc81b9014c68fb4e34d5cbbeb0aab1c75aa280;hp=c5930f6e55500538f49ad37a68de58a620b68332;hpb=a083c51c66239841c42cc1a1c42ba8a259397115;p=apitrace diff --git a/specs/cglapi.py b/specs/cglapi.py index c5930f6..fbae1b1 100644 --- a/specs/cglapi.py +++ b/specs/cglapi.py @@ -233,7 +233,7 @@ cglapi.addFunctions([ Function(CGLError, "CGLLockContext", [(CGLContextObj, "ctx")]), Function(CGLError, "CGLUnlockContext", [(CGLContextObj, "ctx")]), Function(Void, "CGLGetVersion", [Out(Pointer(GLint), "majorvers"), Out(Pointer(GLint), "minorvers")]), - Function(Const(CString), "CGLErrorString", [(CGLError, "error")]), + Function(ConstCString, "CGLErrorString", [(CGLError, "error")]), # CGLIOSurface.h, OpenGL framework Function(CGLError, "CGLTexImageIOSurface2D", [(CGLContextObj, "ctx"), (GLenum, "target"), (GLenum, "internal_format"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (IOSurfaceRef, "ioSurface"), (GLuint, "plane")]),