From 5b92de64206c0a905a9758494b0fc2d72335266a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 19 Sep 2011 19:59:44 +0100 Subject: [PATCH] Handle NV_vertex_array_range GLX entry points. --- glxapi.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/glxapi.py b/glxapi.py index 7c389b6..4a35ce1 100644 --- a/glxapi.py +++ b/glxapi.py @@ -433,6 +433,10 @@ glxapi.add_functions([ # GLX_NV_copy_image Function(Void, "glXCopyImageSubDataNV", [(Display, "dpy"), (GLXContext, "srcCtx"), (GLuint, "srcName"), (GLenum, "srcTarget"), (GLint, "srcLevel"), (GLint, "srcX"), (GLint, "srcY"), (GLint, "srcZ"), (GLXContext, "dstCtx"), (GLuint, "dstName"), (GLenum, "dstTarget"), (GLint, "dstLevel"), (GLint, "dstX"), (GLint, "dstY"), (GLint, "dstZ"), (GLsizei, "width"), (GLsizei, "height"), (GLsizei, "depth")]), + # GLX_NV_vertex_array_range + Function(OpaquePointer(Void), "glXAllocateMemoryNV", [(GLsizei, "size"), (GLfloat, "readfreq"), (GLfloat, "writefreq"), (GLfloat, "priority")]), + Function(Void, "glXFreeMemoryNV", [(OpaquePointer(Void), "pointer")]), + # Must be last Function(PROC, "glXGetProcAddressARB", [(Alias("const GLubyte *", CString), "procName")]), Function(PROC, "glXGetProcAddress", [(Alias("const GLubyte *", CString), "procName")]), -- 2.7.4