DllFunction(Void, "glBegin", [(GLprimenum, "mode")]),
DllFunction(Void, "glBitmap", [(GLsizei, "width"), (GLsizei, "height"), (GLfloat, "xorig"), (GLfloat, "yorig"), (GLfloat, "xmove"), (GLfloat, "ymove"), (Pointer(Const(GLubyte)), "bitmap")]),
DllFunction(Void, "glColor3b", [(GLbyte, "red"), (GLbyte, "green"), (GLbyte, "blue")]),
- DllFunction(Void, "glColor3bv", [(Pointer(Const(GLbyte)), "v")]),
+ DllFunction(Void, "glColor3bv", [(Array(Const(GLbyte), "3"), "v")]),
DllFunction(Void, "glColor3d", [(GLdouble, "red"), (GLdouble, "green"), (GLdouble, "blue")]),
- DllFunction(Void, "glColor3dv", [(Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glColor3dv", [(Array(Const(GLdouble), "3"), "v")]),
DllFunction(Void, "glColor3f", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue")]),
DllFunction(Void, "glColor3fv", [(Array(Const(GLfloat), "3"), "v")]),
DllFunction(Void, "glColor3i", [(GLint, "red"), (GLint, "green"), (GLint, "blue")]),
- DllFunction(Void, "glColor3iv", [(Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glColor3iv", [(Array(Const(GLint), "3"), "v")]),
DllFunction(Void, "glColor3s", [(GLshort, "red"), (GLshort, "green"), (GLshort, "blue")]),
- DllFunction(Void, "glColor3sv", [(Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glColor3sv", [(Array(Const(GLshort), "3"), "v")]),
DllFunction(Void, "glColor3ub", [(GLubyte, "red"), (GLubyte, "green"), (GLubyte, "blue")]),
- DllFunction(Void, "glColor3ubv", [(Pointer(Const(GLubyte)), "v")]),
+ DllFunction(Void, "glColor3ubv", [(Array(Const(GLubyte), "3"), "v")]),
DllFunction(Void, "glColor3ui", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue")]),
- DllFunction(Void, "glColor3uiv", [(Pointer(Const(GLuint)), "v")]),
+ DllFunction(Void, "glColor3uiv", [(Array(Const(GLuint), "3"), "v")]),
DllFunction(Void, "glColor3us", [(GLushort, "red"), (GLushort, "green"), (GLushort, "blue")]),
- DllFunction(Void, "glColor3usv", [(Pointer(Const(GLushort)), "v")]),
+ DllFunction(Void, "glColor3usv", [(Array(Const(GLushort), "3"), "v")]),
DllFunction(Void, "glColor4b", [(GLbyte, "red"), (GLbyte, "green"), (GLbyte, "blue"), (GLbyte, "alpha")]),
- DllFunction(Void, "glColor4bv", [(Pointer(Const(GLbyte)), "v")]),
+ DllFunction(Void, "glColor4bv", [(Array(Const(GLbyte), "4"), "v")]),
DllFunction(Void, "glColor4d", [(GLdouble, "red"), (GLdouble, "green"), (GLdouble, "blue"), (GLdouble, "alpha")]),
- DllFunction(Void, "glColor4dv", [(Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glColor4dv", [(Array(Const(GLdouble), "4"), "v")]),
DllFunction(Void, "glColor4f", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue"), (GLfloat, "alpha")]),
- DllFunction(Void, "glColor4fv", [(Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glColor4fv", [(Array(Const(GLfloat), "4"), "v")]),
DllFunction(Void, "glColor4i", [(GLint, "red"), (GLint, "green"), (GLint, "blue"), (GLint, "alpha")]),
- DllFunction(Void, "glColor4iv", [(Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glColor4iv", [(Array(Const(GLint), "4"), "v")]),
DllFunction(Void, "glColor4s", [(GLshort, "red"), (GLshort, "green"), (GLshort, "blue"), (GLshort, "alpha")]),
- DllFunction(Void, "glColor4sv", [(Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glColor4sv", [(Array(Const(GLshort), "4"), "v")]),
DllFunction(Void, "glColor4ub", [(GLubyte, "red"), (GLubyte, "green"), (GLubyte, "blue"), (GLubyte, "alpha")]),
- DllFunction(Void, "glColor4ubv", [(Pointer(Const(GLubyte)), "v")]),
+ DllFunction(Void, "glColor4ubv", [(Array(Const(GLubyte), "4"), "v")]),
DllFunction(Void, "glColor4ui", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue"), (GLuint, "alpha")]),
- DllFunction(Void, "glColor4uiv", [(Pointer(Const(GLuint)), "v")]),
+ DllFunction(Void, "glColor4uiv", [(Array(Const(GLuint), "4"), "v")]),
DllFunction(Void, "glColor4us", [(GLushort, "red"), (GLushort, "green"), (GLushort, "blue"), (GLushort, "alpha")]),
- DllFunction(Void, "glColor4usv", [(Pointer(Const(GLushort)), "v")]),
+ DllFunction(Void, "glColor4usv", [(Array(Const(GLushort), "4"), "v")]),
DllFunction(Void, "glEdgeFlag", [(GLboolean, "flag")]),
- DllFunction(Void, "glEdgeFlagv", [(Pointer(Const(GLboolean)), "flag")]),
+ DllFunction(Void, "glEdgeFlagv", [(Array(Const(GLboolean), "1"), "flag")]),
DllFunction(Void, "glEnd", []),
DllFunction(Void, "glIndexd", [(GLdouble, "c")]),
- DllFunction(Void, "glIndexdv", [(Pointer(Const(GLdouble)), "c")]),
+ DllFunction(Void, "glIndexdv", [(Array(Const(GLdouble), "1"), "c")]),
DllFunction(Void, "glIndexf", [(GLfloat, "c")]),
- DllFunction(Void, "glIndexfv", [(Pointer(Const(GLfloat)), "c")]),
+ DllFunction(Void, "glIndexfv", [(Array(Const(GLfloat), "1"), "c")]),
DllFunction(Void, "glIndexi", [(GLint, "c")]),
- DllFunction(Void, "glIndexiv", [(Pointer(Const(GLint)), "c")]),
+ DllFunction(Void, "glIndexiv", [(Array(Const(GLint), "1"), "c")]),
DllFunction(Void, "glIndexs", [(GLshort, "c")]),
- DllFunction(Void, "glIndexsv", [(Pointer(Const(GLshort)), "c")]),
+ DllFunction(Void, "glIndexsv", [(Array(Const(GLshort), "1"), "c")]),
DllFunction(Void, "glNormal3b", [(GLbyte, "nx"), (GLbyte, "ny"), (GLbyte, "nz")]),
- DllFunction(Void, "glNormal3bv", [(Pointer(Const(GLbyte)), "v")]),
+ DllFunction(Void, "glNormal3bv", [(Array(Const(GLbyte), "3"), "v")]),
DllFunction(Void, "glNormal3d", [(GLdouble, "nx"), (GLdouble, "ny"), (GLdouble, "nz")]),
- DllFunction(Void, "glNormal3dv", [(Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glNormal3dv", [(Array(Const(GLdouble), "3"), "v")]),
DllFunction(Void, "glNormal3f", [(GLfloat, "nx"), (GLfloat, "ny"), (GLfloat, "nz")]),
- DllFunction(Void, "glNormal3fv", [(Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glNormal3fv", [(Array(Const(GLfloat), "3"), "v")]),
DllFunction(Void, "glNormal3i", [(GLint, "nx"), (GLint, "ny"), (GLint, "nz")]),
- DllFunction(Void, "glNormal3iv", [(Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glNormal3iv", [(Array(Const(GLint), "3"), "v")]),
DllFunction(Void, "glNormal3s", [(GLshort, "nx"), (GLshort, "ny"), (GLshort, "nz")]),
- DllFunction(Void, "glNormal3sv", [(Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glNormal3sv", [(Array(Const(GLshort), "3"), "v")]),
DllFunction(Void, "glRasterPos2d", [(GLdouble, "x"), (GLdouble, "y")]),
- DllFunction(Void, "glRasterPos2dv", [(Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glRasterPos2dv", [(Array(Const(GLdouble), "2"), "v")]),
DllFunction(Void, "glRasterPos2f", [(GLfloat, "x"), (GLfloat, "y")]),
- DllFunction(Void, "glRasterPos2fv", [(Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glRasterPos2fv", [(Array(Const(GLfloat), "2"), "v")]),
DllFunction(Void, "glRasterPos2i", [(GLint, "x"), (GLint, "y")]),
- DllFunction(Void, "glRasterPos2iv", [(Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glRasterPos2iv", [(Array(Const(GLint), "2"), "v")]),
DllFunction(Void, "glRasterPos2s", [(GLshort, "x"), (GLshort, "y")]),
- DllFunction(Void, "glRasterPos2sv", [(Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glRasterPos2sv", [(Array(Const(GLshort), "2"), "v")]),
DllFunction(Void, "glRasterPos3d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]),
- DllFunction(Void, "glRasterPos3dv", [(Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glRasterPos3dv", [(Array(Const(GLdouble), "3"), "v")]),
DllFunction(Void, "glRasterPos3f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]),
- DllFunction(Void, "glRasterPos3fv", [(Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glRasterPos3fv", [(Array(Const(GLfloat), "3"), "v")]),
DllFunction(Void, "glRasterPos3i", [(GLint, "x"), (GLint, "y"), (GLint, "z")]),
- DllFunction(Void, "glRasterPos3iv", [(Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glRasterPos3iv", [(Array(Const(GLint), "3"), "v")]),
DllFunction(Void, "glRasterPos3s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]),
- DllFunction(Void, "glRasterPos3sv", [(Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glRasterPos3sv", [(Array(Const(GLshort), "3"), "v")]),
DllFunction(Void, "glRasterPos4d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]),
- DllFunction(Void, "glRasterPos4dv", [(Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glRasterPos4dv", [(Array(Const(GLdouble), "4"), "v")]),
DllFunction(Void, "glRasterPos4f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]),
- DllFunction(Void, "glRasterPos4fv", [(Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glRasterPos4fv", [(Array(Const(GLfloat), "4"), "v")]),
DllFunction(Void, "glRasterPos4i", [(GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]),
- DllFunction(Void, "glRasterPos4iv", [(Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glRasterPos4iv", [(Array(Const(GLint), "4"), "v")]),
DllFunction(Void, "glRasterPos4s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]),
- DllFunction(Void, "glRasterPos4sv", [(Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glRasterPos4sv", [(Array(Const(GLshort), "4"), "v")]),
DllFunction(Void, "glRectd", [(GLdouble, "x1"), (GLdouble, "y1"), (GLdouble, "x2"), (GLdouble, "y2")]),
- DllFunction(Void, "glRectdv", [(Pointer(Const(GLdouble)), "v1"), (Pointer(Const(GLdouble)), "v2")]),
+ DllFunction(Void, "glRectdv", [(Array(Const(GLdouble), "2"), "v1"), (Array(Const(GLdouble), "2"), "v2")]),
DllFunction(Void, "glRectf", [(GLfloat, "x1"), (GLfloat, "y1"), (GLfloat, "x2"), (GLfloat, "y2")]),
- DllFunction(Void, "glRectfv", [(Pointer(Const(GLfloat)), "v1"), (Pointer(Const(GLfloat)), "v2")]),
+ DllFunction(Void, "glRectfv", [(Array(Const(GLfloat), "2"), "v1"), (Array(Const(GLfloat), "2"), "v2")]),
DllFunction(Void, "glRecti", [(GLint, "x1"), (GLint, "y1"), (GLint, "x2"), (GLint, "y2")]),
- DllFunction(Void, "glRectiv", [(Pointer(Const(GLint)), "v1"), (Pointer(Const(GLint)), "v2")]),
+ DllFunction(Void, "glRectiv", [(Array(Const(GLint), "2"), "v1"), (Array(Const(GLint), "2"), "v2")]),
DllFunction(Void, "glRects", [(GLshort, "x1"), (GLshort, "y1"), (GLshort, "x2"), (GLshort, "y2")]),
- DllFunction(Void, "glRectsv", [(Pointer(Const(GLshort)), "v1"), (Pointer(Const(GLshort)), "v2")]),
+ DllFunction(Void, "glRectsv", [(Array(Const(GLshort), "2"), "v1"), (Array(Const(GLshort), "2"), "v2")]),
DllFunction(Void, "glTexCoord1d", [(GLdouble, "s")]),
- DllFunction(Void, "glTexCoord1dv", [(Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glTexCoord1dv", [(Array(Const(GLdouble), "1"), "v")]),
DllFunction(Void, "glTexCoord1f", [(GLfloat, "s")]),
- DllFunction(Void, "glTexCoord1fv", [(Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glTexCoord1fv", [(Array(Const(GLfloat), "1"), "v")]),
DllFunction(Void, "glTexCoord1i", [(GLint, "s")]),
- DllFunction(Void, "glTexCoord1iv", [(Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glTexCoord1iv", [(Array(Const(GLint), "1"), "v")]),
DllFunction(Void, "glTexCoord1s", [(GLshort, "s")]),
- DllFunction(Void, "glTexCoord1sv", [(Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glTexCoord1sv", [(Array(Const(GLshort), "1"), "v")]),
DllFunction(Void, "glTexCoord2d", [(GLdouble, "s"), (GLdouble, "t")]),
- DllFunction(Void, "glTexCoord2dv", [(Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glTexCoord2dv", [(Array(Const(GLdouble), "2"), "v")]),
DllFunction(Void, "glTexCoord2f", [(GLfloat, "s"), (GLfloat, "t")]),
- DllFunction(Void, "glTexCoord2fv", [(Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glTexCoord2fv", [(Array(Const(GLfloat), "2"), "v")]),
DllFunction(Void, "glTexCoord2i", [(GLint, "s"), (GLint, "t")]),
- DllFunction(Void, "glTexCoord2iv", [(Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glTexCoord2iv", [(Array(Const(GLint), "2"), "v")]),
DllFunction(Void, "glTexCoord2s", [(GLshort, "s"), (GLshort, "t")]),
- DllFunction(Void, "glTexCoord2sv", [(Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glTexCoord2sv", [(Array(Const(GLshort), "2"), "v")]),
DllFunction(Void, "glTexCoord3d", [(GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r")]),
- DllFunction(Void, "glTexCoord3dv", [(Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glTexCoord3dv", [(Array(Const(GLdouble), "3"), "v")]),
DllFunction(Void, "glTexCoord3f", [(GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r")]),
- DllFunction(Void, "glTexCoord3fv", [(Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glTexCoord3fv", [(Array(Const(GLfloat), "3"), "v")]),
DllFunction(Void, "glTexCoord3i", [(GLint, "s"), (GLint, "t"), (GLint, "r")]),
- DllFunction(Void, "glTexCoord3iv", [(Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glTexCoord3iv", [(Array(Const(GLint), "3"), "v")]),
DllFunction(Void, "glTexCoord3s", [(GLshort, "s"), (GLshort, "t"), (GLshort, "r")]),
- DllFunction(Void, "glTexCoord3sv", [(Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glTexCoord3sv", [(Array(Const(GLshort), "3"), "v")]),
DllFunction(Void, "glTexCoord4d", [(GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r"), (GLdouble, "q")]),
- DllFunction(Void, "glTexCoord4dv", [(Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glTexCoord4dv", [(Array(Const(GLdouble), "4"), "v")]),
DllFunction(Void, "glTexCoord4f", [(GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r"), (GLfloat, "q")]),
- DllFunction(Void, "glTexCoord4fv", [(Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glTexCoord4fv", [(Array(Const(GLfloat), "4"), "v")]),
DllFunction(Void, "glTexCoord4i", [(GLint, "s"), (GLint, "t"), (GLint, "r"), (GLint, "q")]),
- DllFunction(Void, "glTexCoord4iv", [(Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glTexCoord4iv", [(Array(Const(GLint), "4"), "v")]),
DllFunction(Void, "glTexCoord4s", [(GLshort, "s"), (GLshort, "t"), (GLshort, "r"), (GLshort, "q")]),
- DllFunction(Void, "glTexCoord4sv", [(Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glTexCoord4sv", [(Array(Const(GLshort), "4"), "v")]),
DllFunction(Void, "glVertex2d", [(GLdouble, "x"), (GLdouble, "y")]),
- DllFunction(Void, "glVertex2dv", [(Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glVertex2dv", [(Array(Const(GLdouble), "2"), "v")]),
DllFunction(Void, "glVertex2f", [(GLfloat, "x"), (GLfloat, "y")]),
- DllFunction(Void, "glVertex2fv", [(Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glVertex2fv", [(Array(Const(GLfloat), "2"), "v")]),
DllFunction(Void, "glVertex2i", [(GLint, "x"), (GLint, "y")]),
- DllFunction(Void, "glVertex2iv", [(Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glVertex2iv", [(Array(Const(GLint), "2"), "v")]),
DllFunction(Void, "glVertex2s", [(GLshort, "x"), (GLshort, "y")]),
- DllFunction(Void, "glVertex2sv", [(Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glVertex2sv", [(Array(Const(GLshort), "2"), "v")]),
DllFunction(Void, "glVertex3d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]),
- DllFunction(Void, "glVertex3dv", [(Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glVertex3dv", [(Array(Const(GLdouble), "3"), "v")]),
DllFunction(Void, "glVertex3f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]),
- DllFunction(Void, "glVertex3fv", [(Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glVertex3fv", [(Array(Const(GLfloat), "3"), "v")]),
DllFunction(Void, "glVertex3i", [(GLint, "x"), (GLint, "y"), (GLint, "z")]),
- DllFunction(Void, "glVertex3iv", [(Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glVertex3iv", [(Array(Const(GLint), "3"), "v")]),
DllFunction(Void, "glVertex3s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]),
- DllFunction(Void, "glVertex3sv", [(Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glVertex3sv", [(Array(Const(GLshort), "3"), "v")]),
DllFunction(Void, "glVertex4d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]),
- DllFunction(Void, "glVertex4dv", [(Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glVertex4dv", [(Array(Const(GLdouble), "4"), "v")]),
DllFunction(Void, "glVertex4f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]),
- DllFunction(Void, "glVertex4fv", [(Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glVertex4fv", [(Array(Const(GLfloat), "4"), "v")]),
DllFunction(Void, "glVertex4i", [(GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]),
- DllFunction(Void, "glVertex4iv", [(Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glVertex4iv", [(Array(Const(GLint), "4"), "v")]),
DllFunction(Void, "glVertex4s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]),
- DllFunction(Void, "glVertex4sv", [(Pointer(Const(GLshort)), "v")]),
- DllFunction(Void, "glClipPlane", [(GLenum, "plane"), (Pointer(Const(GLdouble)), "equation")]),
+ DllFunction(Void, "glVertex4sv", [(Array(Const(GLshort), "4"), "v")]),
+ DllFunction(Void, "glClipPlane", [(GLenum, "plane"), (Array(Const(GLdouble), "4"), "equation")]),
DllFunction(Void, "glColorMaterial", [(GLenum, "face"), (GLenum, "mode")]),
DllFunction(Void, "glCullFace", [(GLenum, "mode")]),
DllFunction(Void, "glFogf", [(GLenum, "pname"), (GLfloat, "param")]),
DllFunction(Void, "glFrontFace", [(GLenum, "mode")]),
DllFunction(Void, "glHint", [(GLenum, "target"), (GLenum, "mode")]),
DllFunction(Void, "glLightf", [(GLenum, "light"), (GLenum, "pname"), (GLfloat, "param")]),
- DllFunction(Void, "glLightfv", [(GLenum, "light"), (GLenum, "pname"), (Pointer(Const(GLfloat)), "params")]),
+ DllFunction(Void, "glLightfv", [(GLenum, "light"), (GLenum, "pname"), (Array(Const(GLfloat), "4"), "params")]), # XXX
DllFunction(Void, "glLighti", [(GLenum, "light"), (GLenum, "pname"), (GLint, "param")]),
- DllFunction(Void, "glLightiv", [(GLenum, "light"), (GLenum, "pname"), (Pointer(Const(GLint)), "params")]),
+ DllFunction(Void, "glLightiv", [(GLenum, "light"), (GLenum, "pname"), (Array(Const(GLint), "4"), "params")]), # XXX
DllFunction(Void, "glLightModelf", [(GLenum, "pname"), (GLfloat, "param")]),
- DllFunction(Void, "glLightModelfv", [(GLenum, "pname"), (Pointer(Const(GLfloat)), "params")]),
+ DllFunction(Void, "glLightModelfv", [(GLenum, "pname"), (Array(Const(GLfloat), "4"), "params")]), # XXX
DllFunction(Void, "glLightModeli", [(GLenum, "pname"), (GLint, "param")]),
- DllFunction(Void, "glLightModeliv", [(GLenum, "pname"), (Pointer(Const(GLint)), "params")]),
+ DllFunction(Void, "glLightModeliv", [(GLenum, "pname"), (Array(Const(GLint), "4"), "params")]), # XXX
DllFunction(Void, "glLineStipple", [(GLint, "factor"), (GLushort, "pattern")]),
DllFunction(Void, "glLineWidth", [(GLfloat, "width")]),
DllFunction(Void, "glMaterialf", [(GLenum, "face"), (GLenum, "pname"), (GLfloat, "param")]),
- DllFunction(Void, "glMaterialfv", [(GLenum, "face"), (GLenum, "pname"), (Pointer(Const(GLfloat)), "params")]),
+ DllFunction(Void, "glMaterialfv", [(GLenum, "face"), (GLenum, "pname"), (Array(Const(GLfloat), "4"), "params")]), # XXX
DllFunction(Void, "glMateriali", [(GLenum, "face"), (GLenum, "pname"), (GLint, "param")]),
- DllFunction(Void, "glMaterialiv", [(GLenum, "face"), (GLenum, "pname"), (Pointer(Const(GLint)), "params")]),
+ DllFunction(Void, "glMaterialiv", [(GLenum, "face"), (GLenum, "pname"), (Array(Const(GLint), "4"), "params")]), # XXX
DllFunction(Void, "glPointSize", [(GLfloat, "size")]),
DllFunction(Void, "glPolygonMode", [(GLenum, "face"), (GLenum, "mode")]),
DllFunction(Void, "glPolygonStipple", [(Pointer(Const(GLubyte)), "mask")]),
DllFunction(Void, "glMapGrid2d", [(GLint, "un"), (GLdouble, "u1"), (GLdouble, "u2"), (GLint, "vn"), (GLdouble, "v1"), (GLdouble, "v2")]),
DllFunction(Void, "glMapGrid2f", [(GLint, "un"), (GLfloat, "u1"), (GLfloat, "u2"), (GLint, "vn"), (GLfloat, "v1"), (GLfloat, "v2")]),
DllFunction(Void, "glEvalCoord1d", [(GLdouble, "u")]),
- DllFunction(Void, "glEvalCoord1dv", [(Pointer(Const(GLdouble)), "u")]),
+ DllFunction(Void, "glEvalCoord1dv", [(Array(Const(GLdouble), "1"), "u")]),
DllFunction(Void, "glEvalCoord1f", [(GLfloat, "u")]),
- DllFunction(Void, "glEvalCoord1fv", [(Pointer(Const(GLfloat)), "u")]),
+ DllFunction(Void, "glEvalCoord1fv", [(Array(Const(GLfloat), "1"), "u")]),
DllFunction(Void, "glEvalCoord2d", [(GLdouble, "u"), (GLdouble, "v")]),
- DllFunction(Void, "glEvalCoord2dv", [(Pointer(Const(GLdouble)), "u")]),
+ DllFunction(Void, "glEvalCoord2dv", [(Array(Const(GLdouble), "2"), "u")]),
DllFunction(Void, "glEvalCoord2f", [(GLfloat, "u"), (GLfloat, "v")]),
- DllFunction(Void, "glEvalCoord2fv", [(Pointer(Const(GLfloat)), "u")]),
+ DllFunction(Void, "glEvalCoord2fv", [(Array(Const(GLfloat), "2"), "u")]),
DllFunction(Void, "glEvalMesh1", [(GLenum, "mode"), (GLint, "i1"), (GLint, "i2")]),
DllFunction(Void, "glEvalPoint1", [(GLint, "i")]),
DllFunction(Void, "glEvalMesh2", [(GLenum, "mode"), (GLint, "i1"), (GLint, "i2"), (GLint, "j1"), (GLint, "j2")]),
DllFunction(Void, "glReadPixels", [(GLint, "x"), (GLint, "y"), (GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (OutPointer(GLvoid), "pixels")]),
DllFunction(Void, "glDrawPixels", [(GLsizei, "width"), (GLsizei, "height"), (GLenum, "format"), (GLenum, "type"), (Pointer(Const(GLvoid)), "pixels")]),
DllFunction(Void, "glGetBooleanv", [(GLenum, "pname"), (OutPointer(GLboolean), "params")]),
- DllFunction(Void, "glGetClipPlane", [(GLenum, "plane"), (OutPointer(GLdouble), "equation")]),
+ DllFunction(Void, "glGetClipPlane", [(GLenum, "plane"), (OutArray(GLdouble, "4"), "equation")]),
DllFunction(Void, "glGetDoublev", [(GLenum, "pname"), (OutPointer(GLdouble), "params")]),
DllFunction(GLenum, "glGetError", []),
DllFunction(Void, "glGetFloatv", [(GLenum, "pname"), (OutPointer(GLfloat), "params")]),
DllFunction(Void, "glDepthRange", [(GLclampd, "zNear"), (GLclampd, "zFar")]),
DllFunction(Void, "glFrustum", [(GLdouble, "left"), (GLdouble, "right"), (GLdouble, "bottom"), (GLdouble, "top"), (GLdouble, "zNear"), (GLdouble, "zFar")]),
DllFunction(Void, "glLoadIdentity", []),
- DllFunction(Void, "glLoadMatrixf", [(Pointer(Const(GLfloat)), "m")]),
- DllFunction(Void, "glLoadMatrixd", [(Pointer(Const(GLdouble)), "m")]),
+ DllFunction(Void, "glLoadMatrixf", [(Array(Const(GLfloat), "16"), "m")]),
+ DllFunction(Void, "glLoadMatrixd", [(Array(Const(GLdouble), "16"), "m")]),
DllFunction(Void, "glMatrixMode", [(GLenum, "mode")]),
- DllFunction(Void, "glMultMatrixf", [(Pointer(Const(GLfloat)), "m")]),
- DllFunction(Void, "glMultMatrixd", [(Pointer(Const(GLdouble)), "m")]),
+ DllFunction(Void, "glMultMatrixf", [(Array(Const(GLfloat), "16"), "m")]),
+ DllFunction(Void, "glMultMatrixd", [(Array(Const(GLdouble), "16"), "m")]),
DllFunction(Void, "glOrtho", [(GLdouble, "left"), (GLdouble, "right"), (GLdouble, "bottom"), (GLdouble, "top"), (GLdouble, "zNear"), (GLdouble, "zFar")]),
DllFunction(Void, "glPopMatrix", []),
DllFunction(Void, "glPushMatrix", []),
DllFunction(Void, "glEnableClientState", [(GLenum, "array")]),
DllFunction(Void, "glIndexPointer", [(GLenum, "type"), (GLsizei, "stride"), (Pointer(Const(GLvoid)), "pointer")]),
DllFunction(Void, "glIndexub", [(GLubyte, "c")]),
- DllFunction(Void, "glIndexubv", [(Pointer(Const(GLubyte)), "c")]),
+ DllFunction(Void, "glIndexubv", [(Array(Const(GLubyte), "1"), "c")]),
DllFunction(Void, "glInterleavedArrays", [(GLenum, "format"), (GLsizei, "stride"), (Pointer(Const(GLvoid)), "pointer")]),
DllFunction(Void, "glNormalPointer", [(GLenum, "type"), (GLsizei, "stride"), (Pointer(Const(GLvoid)), "pointer")]),
DllFunction(Void, "glPolygonOffset", [(GLfloat, "factor"), (GLfloat, "units")]),
DllFunction(Void, "glActiveTextureARB", [(GLenum, "texture")]),
DllFunction(Void, "glClientActiveTextureARB", [(GLenum, "texture")]),
DllFunction(Void, "glMultiTexCoord1dARB", [(GLenum, "target"), (GLdouble, "s")]),
- DllFunction(Void, "glMultiTexCoord1dvARB", [(GLenum, "target"), (Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glMultiTexCoord1dvARB", [(GLenum, "target"), (Array(Const(GLdouble), "1"), "v")]),
DllFunction(Void, "glMultiTexCoord1fARB", [(GLenum, "target"), (GLfloat, "s")]),
- DllFunction(Void, "glMultiTexCoord1fvARB", [(GLenum, "target"), (Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glMultiTexCoord1fvARB", [(GLenum, "target"), (Array(Const(GLfloat), "1"), "v")]),
DllFunction(Void, "glMultiTexCoord1iARB", [(GLenum, "target"), (GLint, "s")]),
- DllFunction(Void, "glMultiTexCoord1ivARB", [(GLenum, "target"), (Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glMultiTexCoord1ivARB", [(GLenum, "target"), (Array(Const(GLint), "1"), "v")]),
DllFunction(Void, "glMultiTexCoord1sARB", [(GLenum, "target"), (GLshort, "s")]),
- DllFunction(Void, "glMultiTexCoord1svARB", [(GLenum, "target"), (Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glMultiTexCoord1svARB", [(GLenum, "target"), (Array(Const(GLshort), "1"), "v")]),
DllFunction(Void, "glMultiTexCoord2dARB", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t")]),
- DllFunction(Void, "glMultiTexCoord2dvARB", [(GLenum, "target"), (Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glMultiTexCoord2dvARB", [(GLenum, "target"), (Array(Const(GLdouble), "2"), "v")]),
DllFunction(Void, "glMultiTexCoord2fARB", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t")]),
- DllFunction(Void, "glMultiTexCoord2fvARB", [(GLenum, "target"), (Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glMultiTexCoord2fvARB", [(GLenum, "target"), (Array(Const(GLfloat), "2"), "v")]),
DllFunction(Void, "glMultiTexCoord2iARB", [(GLenum, "target"), (GLint, "s"), (GLint, "t")]),
- DllFunction(Void, "glMultiTexCoord2ivARB", [(GLenum, "target"), (Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glMultiTexCoord2ivARB", [(GLenum, "target"), (Array(Const(GLint), "2"), "v")]),
DllFunction(Void, "glMultiTexCoord2sARB", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t")]),
- DllFunction(Void, "glMultiTexCoord2svARB", [(GLenum, "target"), (Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glMultiTexCoord2svARB", [(GLenum, "target"), (Array(Const(GLshort), "2"), "v")]),
DllFunction(Void, "glMultiTexCoord3dARB", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r")]),
- DllFunction(Void, "glMultiTexCoord3dvARB", [(GLenum, "target"), (Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glMultiTexCoord3dvARB", [(GLenum, "target"), (Array(Const(GLdouble), "3"), "v")]),
DllFunction(Void, "glMultiTexCoord3fARB", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r")]),
- DllFunction(Void, "glMultiTexCoord3fvARB", [(GLenum, "target"), (Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glMultiTexCoord3fvARB", [(GLenum, "target"), (Array(Const(GLfloat), "3"), "v")]),
DllFunction(Void, "glMultiTexCoord3iARB", [(GLenum, "target"), (GLint, "s"), (GLint, "t"), (GLint, "r")]),
- DllFunction(Void, "glMultiTexCoord3ivARB", [(GLenum, "target"), (Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glMultiTexCoord3ivARB", [(GLenum, "target"), (Array(Const(GLint), "3"), "v")]),
DllFunction(Void, "glMultiTexCoord3sARB", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t"), (GLshort, "r")]),
- DllFunction(Void, "glMultiTexCoord3svARB", [(GLenum, "target"), (Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glMultiTexCoord3svARB", [(GLenum, "target"), (Array(Const(GLshort), "3"), "v")]),
DllFunction(Void, "glMultiTexCoord4dARB", [(GLenum, "target"), (GLdouble, "s"), (GLdouble, "t"), (GLdouble, "r"), (GLdouble, "q")]),
- DllFunction(Void, "glMultiTexCoord4dvARB", [(GLenum, "target"), (Pointer(Const(GLdouble)), "v")]),
+ DllFunction(Void, "glMultiTexCoord4dvARB", [(GLenum, "target"), (Array(Const(GLdouble), "4"), "v")]),
DllFunction(Void, "glMultiTexCoord4fARB", [(GLenum, "target"), (GLfloat, "s"), (GLfloat, "t"), (GLfloat, "r"), (GLfloat, "q")]),
- DllFunction(Void, "glMultiTexCoord4fvARB", [(GLenum, "target"), (Pointer(Const(GLfloat)), "v")]),
+ DllFunction(Void, "glMultiTexCoord4fvARB", [(GLenum, "target"), (Array(Const(GLfloat), "4"), "v")]),
DllFunction(Void, "glMultiTexCoord4iARB", [(GLenum, "target"), (GLint, "s"), (GLint, "t"), (GLint, "r"), (GLint, "q")]),
- DllFunction(Void, "glMultiTexCoord4ivARB", [(GLenum, "target"), (Pointer(Const(GLint)), "v")]),
+ DllFunction(Void, "glMultiTexCoord4ivARB", [(GLenum, "target"), (Array(Const(GLint), "4"), "v")]),
DllFunction(Void, "glMultiTexCoord4sARB", [(GLenum, "target"), (GLshort, "s"), (GLshort, "t"), (GLshort, "r"), (GLshort, "q")]),
- DllFunction(Void, "glMultiTexCoord4svARB", [(GLenum, "target"), (Pointer(Const(GLshort)), "v")]),
+ DllFunction(Void, "glMultiTexCoord4svARB", [(GLenum, "target"), (Array(Const(GLshort), "4"), "v")]),
]
GlxFunction(Void, "glProgramLocalParameter4fvARB", [(GLenum, "target"), (GLuint, "index"), (Pointer(Const(GLfloat)), "params")]),
GlxFunction(Void, "glProgramStringARB", [(GLenum, "target"), (GLenum, "format"), (GLsizei, "len"), (Pointer(Const(GLvoid)), "string")]),
GlxFunction(Void, "glVertexAttrib1dARB", [(GLuint, "index"), (GLdouble, "x")]),
- GlxFunction(Void, "glVertexAttrib1dvARB", [(GLuint, "index"), (Pointer(Const(GLdouble)), "v")]),
+ GlxFunction(Void, "glVertexAttrib1dvARB", [(GLuint, "index"), (Array(Const(GLdouble), "1"), "v")]),
GlxFunction(Void, "glVertexAttrib1fARB", [(GLuint, "index"), (GLfloat, "x")]),
- GlxFunction(Void, "glVertexAttrib1fvARB", [(GLuint, "index"), (Pointer(Const(GLfloat)), "v")]),
+ GlxFunction(Void, "glVertexAttrib1fvARB", [(GLuint, "index"), (Array(Const(GLfloat), "1"), "v")]),
GlxFunction(Void, "glVertexAttrib1sARB", [(GLuint, "index"), (GLshort, "x")]),
- GlxFunction(Void, "glVertexAttrib1svARB", [(GLuint, "index"), (Pointer(Const(GLshort)), "v")]),
+ GlxFunction(Void, "glVertexAttrib1svARB", [(GLuint, "index"), (Array(Const(GLshort), "1"), "v")]),
GlxFunction(Void, "glVertexAttrib2dARB", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y")]),
- GlxFunction(Void, "glVertexAttrib2dvARB", [(GLuint, "index"), (Pointer(Const(GLdouble)), "v")]),
+ GlxFunction(Void, "glVertexAttrib2dvARB", [(GLuint, "index"), (Array(Const(GLdouble), "2"), "v")]),
GlxFunction(Void, "glVertexAttrib2fARB", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y")]),
- GlxFunction(Void, "glVertexAttrib2fvARB", [(GLuint, "index"), (Pointer(Const(GLfloat)), "v")]),
+ GlxFunction(Void, "glVertexAttrib2fvARB", [(GLuint, "index"), (Array(Const(GLfloat), "2"), "v")]),
GlxFunction(Void, "glVertexAttrib2sARB", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y")]),
- GlxFunction(Void, "glVertexAttrib2svARB", [(GLuint, "index"), (Pointer(Const(GLshort)), "v")]),
+ GlxFunction(Void, "glVertexAttrib2svARB", [(GLuint, "index"), (Array(Const(GLshort), "2"), "v")]),
GlxFunction(Void, "glVertexAttrib3dARB", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]),
- GlxFunction(Void, "glVertexAttrib3dvARB", [(GLuint, "index"), (Pointer(Const(GLdouble)), "v")]),
+ GlxFunction(Void, "glVertexAttrib3dvARB", [(GLuint, "index"), (Array(Const(GLdouble), "3"), "v")]),
GlxFunction(Void, "glVertexAttrib3fARB", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]),
- GlxFunction(Void, "glVertexAttrib3fvARB", [(GLuint, "index"), (Pointer(Const(GLfloat)), "v")]),
+ GlxFunction(Void, "glVertexAttrib3fvARB", [(GLuint, "index"), (Array(Const(GLfloat), "3"), "v")]),
GlxFunction(Void, "glVertexAttrib3sARB", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z")]),
- GlxFunction(Void, "glVertexAttrib3svARB", [(GLuint, "index"), (Pointer(Const(GLshort)), "v")]),
+ GlxFunction(Void, "glVertexAttrib3svARB", [(GLuint, "index"), (Array(Const(GLshort), "3"), "v")]),
GlxFunction(Void, "glVertexAttrib4NbvARB", [(GLuint, "index"), (Pointer(Const(GLbyte)), "v")]),
GlxFunction(Void, "glVertexAttrib4NivARB", [(GLuint, "index"), (Pointer(Const(GLint)), "v")]),
GlxFunction(Void, "glVertexAttrib4NsvARB", [(GLuint, "index"), (Pointer(Const(GLshort)), "v")]),
GlxFunction(Void, "glVertexAttrib4NubvARB", [(GLuint, "index"), (Pointer(Const(GLubyte)), "v")]),
GlxFunction(Void, "glVertexAttrib4NuivARB", [(GLuint, "index"), (Pointer(Const(GLuint)), "v")]),
GlxFunction(Void, "glVertexAttrib4NusvARB", [(GLuint, "index"), (Pointer(Const(GLushort)), "v")]),
- GlxFunction(Void, "glVertexAttrib4bvARB", [(GLuint, "index"), (Pointer(Const(GLbyte)), "v")]),
+ GlxFunction(Void, "glVertexAttrib4bvARB", [(GLuint, "index"), (Array(Const(GLbyte), "4"), "v")]),
GlxFunction(Void, "glVertexAttrib4dARB", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]),
- GlxFunction(Void, "glVertexAttrib4dvARB", [(GLuint, "index"), (Pointer(Const(GLdouble)), "v")]),
+ GlxFunction(Void, "glVertexAttrib4dvARB", [(GLuint, "index"), (Array(Const(GLdouble), "4"), "v")]),
GlxFunction(Void, "glVertexAttrib4fARB", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]),
- GlxFunction(Void, "glVertexAttrib4fvARB", [(GLuint, "index"), (Pointer(Const(GLfloat)), "v")]),
- GlxFunction(Void, "glVertexAttrib4ivARB", [(GLuint, "index"), (Pointer(Const(GLint)), "v")]),
+ GlxFunction(Void, "glVertexAttrib4fvARB", [(GLuint, "index"), (Array(Const(GLfloat), "4"), "v")]),
+ GlxFunction(Void, "glVertexAttrib4ivARB", [(GLuint, "index"), (Array(Const(GLint), "4"), "v")]),
GlxFunction(Void, "glVertexAttrib4sARB", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]),
- GlxFunction(Void, "glVertexAttrib4svARB", [(GLuint, "index"), (Pointer(Const(GLshort)), "v")]),
- GlxFunction(Void, "glVertexAttrib4ubvARB", [(GLuint, "index"), (Pointer(Const(GLubyte)), "v")]),
- GlxFunction(Void, "glVertexAttrib4uivARB", [(GLuint, "index"), (Pointer(Const(GLuint)), "v")]),
- GlxFunction(Void, "glVertexAttrib4usvARB", [(GLuint, "index"), (Pointer(Const(GLushort)), "v")]),
+ GlxFunction(Void, "glVertexAttrib4svARB", [(GLuint, "index"), (Array(Const(GLshort), "4"), "v")]),
+ GlxFunction(Void, "glVertexAttrib4ubvARB", [(GLuint, "index"), (Array(Const(GLubyte), "4"), "v")]),
+ GlxFunction(Void, "glVertexAttrib4uivARB", [(GLuint, "index"), (Array(Const(GLuint), "4"), "v")]),
+ GlxFunction(Void, "glVertexAttrib4usvARB", [(GLuint, "index"), (Array(Const(GLushort), "4"), "v")]),
GlxFunction(Void, "glVertexAttribPointerARB", [(GLuint, "index"), (GLint, "size"), (GLenum, "type"), (GLboolean, "normalized"), (GLsizei, "stride"), (Pointer(Const(GLvoid)), "pointer")]),
GlxFunction(Void, "glBindBufferARB", [(GLenum, "target"), (GLuint, "buffer")]),
GlxFunction(Void, "glBufferDataARB", [(GLenum, "target"), (GLsizeiptrARB, "size"), (Pointer(Const(GLvoid)), "data"), (GLenum, "usage")]),
GlxFunction(Void, "glCullParameterdvEXT", [(GLenum, "pname"), (Pointer(GLdouble), "params")]),
GlxFunction(Void, "glCullParameterfvEXT", [(GLenum, "pname"), (Pointer(GLfloat), "params")]),
GlxFunction(Void, "glSecondaryColor3bEXT", [(GLbyte, "red"), (GLbyte, "green"), (GLbyte, "blue")]),
- GlxFunction(Void, "glSecondaryColor3bvEXT", [(Pointer(Const(GLbyte)), "v")]),
+ GlxFunction(Void, "glSecondaryColor3bvEXT", [(Array(Const(GLbyte), "3"), "v")]),
GlxFunction(Void, "glSecondaryColor3dEXT", [(GLdouble, "red"), (GLdouble, "green"), (GLdouble, "blue")]),
- GlxFunction(Void, "glSecondaryColor3dvEXT", [(Pointer(Const(GLdouble)), "v")]),
+ GlxFunction(Void, "glSecondaryColor3dvEXT", [(Array(Const(GLdouble), "3"), "v")]),
GlxFunction(Void, "glSecondaryColor3fEXT", [(GLfloat, "red"), (GLfloat, "green"), (GLfloat, "blue")]),
- GlxFunction(Void, "glSecondaryColor3fvEXT", [(Pointer(Const(GLfloat)), "v")]),
+ GlxFunction(Void, "glSecondaryColor3fvEXT", [(Array(Const(GLfloat), "3"), "v")]),
GlxFunction(Void, "glSecondaryColor3iEXT", [(GLint, "red"), (GLint, "green"), (GLint, "blue")]),
- GlxFunction(Void, "glSecondaryColor3ivEXT", [(Pointer(Const(GLint)), "v")]),
+ GlxFunction(Void, "glSecondaryColor3ivEXT", [(Array(Const(GLint), "3"), "v")]),
GlxFunction(Void, "glSecondaryColor3sEXT", [(GLshort, "red"), (GLshort, "green"), (GLshort, "blue")]),
- GlxFunction(Void, "glSecondaryColor3svEXT", [(Pointer(Const(GLshort)), "v")]),
+ GlxFunction(Void, "glSecondaryColor3svEXT", [(Array(Const(GLshort), "3"), "v")]),
GlxFunction(Void, "glSecondaryColor3ubEXT", [(GLubyte, "red"), (GLubyte, "green"), (GLubyte, "blue")]),
- GlxFunction(Void, "glSecondaryColor3ubvEXT", [(Pointer(Const(GLubyte)), "v")]),
+ GlxFunction(Void, "glSecondaryColor3ubvEXT", [(Array(Const(GLubyte), "3"), "v")]),
GlxFunction(Void, "glSecondaryColor3uiEXT", [(GLuint, "red"), (GLuint, "green"), (GLuint, "blue")]),
- GlxFunction(Void, "glSecondaryColor3uivEXT", [(Pointer(Const(GLuint)), "v")]),
+ GlxFunction(Void, "glSecondaryColor3uivEXT", [(Array(Const(GLuint), "3"), "v")]),
GlxFunction(Void, "glSecondaryColor3usEXT", [(GLushort, "red"), (GLushort, "green"), (GLushort, "blue")]),
- GlxFunction(Void, "glSecondaryColor3usvEXT", [(Pointer(Const(GLushort)), "v")]),
+ GlxFunction(Void, "glSecondaryColor3usvEXT", [(Array(Const(GLushort), "3"), "v")]),
GlxFunction(Void, "glSecondaryColorPointerEXT", [(GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Pointer(Const(GLvoid)), "pointer")]),
GlxFunction(Void, "glMultiDrawArraysEXT", [(GLenum, "mode"), (Pointer(GLint), "first"), (Pointer(GLsizei), "count"), (GLsizei, "primcount")]),
GlxFunction(Void, "glMultiDrawElementsEXT", [(GLenum, "mode"), (Pointer(Const(GLsizei)), "count"), (GLenum, "type"), (Pointer(Pointer(Const(GLvoid))), "indices"), (GLsizei, "primcount")]),
GlxFunction(Void, "glGetFinalCombinerInputParameterivNV", [(GLenum, "variable"), (GLenum, "pname"), (Pointer(GLint), "params")]),
GlxFunction(Void, "glResizeBuffersMESA", []),
GlxFunction(Void, "glWindowPos2dMESA", [(GLdouble, "x"), (GLdouble, "y")]),
- GlxFunction(Void, "glWindowPos2dvMESA", [(Pointer(Const(GLdouble)), "v")]),
+ GlxFunction(Void, "glWindowPos2dvMESA", [(Array(Const(GLdouble), "2"), "v")]),
GlxFunction(Void, "glWindowPos2fMESA", [(GLfloat, "x"), (GLfloat, "y")]),
- GlxFunction(Void, "glWindowPos2fvMESA", [(Pointer(Const(GLfloat)), "v")]),
+ GlxFunction(Void, "glWindowPos2fvMESA", [(Array(Const(GLfloat), "2"), "v")]),
GlxFunction(Void, "glWindowPos2iMESA", [(GLint, "x"), (GLint, "y")]),
- GlxFunction(Void, "glWindowPos2ivMESA", [(Pointer(Const(GLint)), "v")]),
+ GlxFunction(Void, "glWindowPos2ivMESA", [(Array(Const(GLint), "2"), "v")]),
GlxFunction(Void, "glWindowPos2sMESA", [(GLshort, "x"), (GLshort, "y")]),
- GlxFunction(Void, "glWindowPos2svMESA", [(Pointer(Const(GLshort)), "v")]),
+ GlxFunction(Void, "glWindowPos2svMESA", [(Array(Const(GLshort), "2"), "v")]),
GlxFunction(Void, "glWindowPos3dMESA", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]),
- GlxFunction(Void, "glWindowPos3dvMESA", [(Pointer(Const(GLdouble)), "v")]),
+ GlxFunction(Void, "glWindowPos3dvMESA", [(Array(Const(GLdouble), "3"), "v")]),
GlxFunction(Void, "glWindowPos3fMESA", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]),
- GlxFunction(Void, "glWindowPos3fvMESA", [(Pointer(Const(GLfloat)), "v")]),
+ GlxFunction(Void, "glWindowPos3fvMESA", [(Array(Const(GLfloat), "3"), "v")]),
GlxFunction(Void, "glWindowPos3iMESA", [(GLint, "x"), (GLint, "y"), (GLint, "z")]),
- GlxFunction(Void, "glWindowPos3ivMESA", [(Pointer(Const(GLint)), "v")]),
+ GlxFunction(Void, "glWindowPos3ivMESA", [(Array(Const(GLint), "3"), "v")]),
GlxFunction(Void, "glWindowPos3sMESA", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]),
- GlxFunction(Void, "glWindowPos3svMESA", [(Pointer(Const(GLshort)), "v")]),
+ GlxFunction(Void, "glWindowPos3svMESA", [(Array(Const(GLshort), "3"), "v")]),
GlxFunction(Void, "glWindowPos4dMESA", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]),
- GlxFunction(Void, "glWindowPos4dvMESA", [(Pointer(Const(GLdouble)), "v")]),
+ GlxFunction(Void, "glWindowPos4dvMESA", [(Array(Const(GLdouble), "4"), "v")]),
GlxFunction(Void, "glWindowPos4fMESA", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]),
- GlxFunction(Void, "glWindowPos4fvMESA", [(Pointer(Const(GLfloat)), "v")]),
+ GlxFunction(Void, "glWindowPos4fvMESA", [(Array(Const(GLfloat), "4"), "v")]),
GlxFunction(Void, "glWindowPos4iMESA", [(GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]),
- GlxFunction(Void, "glWindowPos4ivMESA", [(Pointer(Const(GLint)), "v")]),
+ GlxFunction(Void, "glWindowPos4ivMESA", [(Array(Const(GLint), "4"), "v")]),
GlxFunction(Void, "glWindowPos4sMESA", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]),
- GlxFunction(Void, "glWindowPos4svMESA", [(Pointer(Const(GLshort)), "v")]),
+ GlxFunction(Void, "glWindowPos4svMESA", [(Array(Const(GLshort), "4"), "v")]),
GlxFunction(Void, "glMultiModeDrawArraysIBM", [(Pointer(Const(GLenum)), "mode"), (Pointer(Const(GLint)), "first"), (Pointer(Const(GLsizei)), "count"), (GLsizei, "primcount"), (GLint, "modestride")]),
GlxFunction(Void, "glMultiModeDrawElementsIBM", [(Pointer(Const(GLenum)), "mode"), (Pointer(Const(GLsizei)), "count"), (GLenum, "type"), (Pointer(Const(Pointer(Const(GLvoid)))), "indices"), (GLsizei, "primcount"), (GLint, "modestride")]),
GlxFunction(Void, "glDeleteFencesNV", [(GLsizei, "n"), (Pointer(Const(GLuint)), "fences")]),
GlxFunction(Void, "glRequestResidentProgramsNV", [(GLsizei, "n"), (Pointer(Const(GLuint)), "ids")]),
GlxFunction(Void, "glTrackMatrixNV", [(GLenum, "target"), (GLuint, "address"), (GLenum, "matrix"), (GLenum, "transform")]),
GlxFunction(Void, "glVertexAttrib1dNV", [(GLuint, "index"), (GLdouble, "x")]),
- GlxFunction(Void, "glVertexAttrib1dvNV", [(GLuint, "index"), (Pointer(Const(GLdouble)), "v")]),
+ GlxFunction(Void, "glVertexAttrib1dvNV", [(GLuint, "index"), (Array(Const(GLdouble), "1"), "v")]),
GlxFunction(Void, "glVertexAttrib1fNV", [(GLuint, "index"), (GLfloat, "x")]),
- GlxFunction(Void, "glVertexAttrib1fvNV", [(GLuint, "index"), (Pointer(Const(GLfloat)), "v")]),
+ GlxFunction(Void, "glVertexAttrib1fvNV", [(GLuint, "index"), (Array(Const(GLfloat), "1"), "v")]),
GlxFunction(Void, "glVertexAttrib1sNV", [(GLuint, "index"), (GLshort, "x")]),
- GlxFunction(Void, "glVertexAttrib1svNV", [(GLuint, "index"), (Pointer(Const(GLshort)), "v")]),
+ GlxFunction(Void, "glVertexAttrib1svNV", [(GLuint, "index"), (Array(Const(GLshort), "1"), "v")]),
GlxFunction(Void, "glVertexAttrib2dNV", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y")]),
- GlxFunction(Void, "glVertexAttrib2dvNV", [(GLuint, "index"), (Pointer(Const(GLdouble)), "v")]),
+ GlxFunction(Void, "glVertexAttrib2dvNV", [(GLuint, "index"), (Array(Const(GLdouble), "2"), "v")]),
GlxFunction(Void, "glVertexAttrib2fNV", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y")]),
- GlxFunction(Void, "glVertexAttrib2fvNV", [(GLuint, "index"), (Pointer(Const(GLfloat)), "v")]),
+ GlxFunction(Void, "glVertexAttrib2fvNV", [(GLuint, "index"), (Array(Const(GLfloat), "2"), "v")]),
GlxFunction(Void, "glVertexAttrib2sNV", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y")]),
- GlxFunction(Void, "glVertexAttrib2svNV", [(GLuint, "index"), (Pointer(Const(GLshort)), "v")]),
+ GlxFunction(Void, "glVertexAttrib2svNV", [(GLuint, "index"), (Array(Const(GLshort), "2"), "v")]),
GlxFunction(Void, "glVertexAttrib3dNV", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]),
- GlxFunction(Void, "glVertexAttrib3dvNV", [(GLuint, "index"), (Pointer(Const(GLdouble)), "v")]),
+ GlxFunction(Void, "glVertexAttrib3dvNV", [(GLuint, "index"), (Array(Const(GLdouble), "3"), "v")]),
GlxFunction(Void, "glVertexAttrib3fNV", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]),
- GlxFunction(Void, "glVertexAttrib3fvNV", [(GLuint, "index"), (Pointer(Const(GLfloat)), "v")]),
+ GlxFunction(Void, "glVertexAttrib3fvNV", [(GLuint, "index"), (Array(Const(GLfloat), "3"), "v")]),
GlxFunction(Void, "glVertexAttrib3sNV", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z")]),
- GlxFunction(Void, "glVertexAttrib3svNV", [(GLuint, "index"), (Pointer(Const(GLshort)), "v")]),
+ GlxFunction(Void, "glVertexAttrib3svNV", [(GLuint, "index"), (Array(Const(GLshort), "3"), "v")]),
GlxFunction(Void, "glVertexAttrib4dNV", [(GLuint, "index"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]),
- GlxFunction(Void, "glVertexAttrib4dvNV", [(GLuint, "index"), (Pointer(Const(GLdouble)), "v")]),
+ GlxFunction(Void, "glVertexAttrib4dvNV", [(GLuint, "index"), (Array(Const(GLdouble), "4"), "v")]),
GlxFunction(Void, "glVertexAttrib4fNV", [(GLuint, "index"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]),
- GlxFunction(Void, "glVertexAttrib4fvNV", [(GLuint, "index"), (Pointer(Const(GLfloat)), "v")]),
+ GlxFunction(Void, "glVertexAttrib4fvNV", [(GLuint, "index"), (Array(Const(GLfloat), "4"), "v")]),
GlxFunction(Void, "glVertexAttrib4sNV", [(GLuint, "index"), (GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]),
- GlxFunction(Void, "glVertexAttrib4svNV", [(GLuint, "index"), (Pointer(Const(GLshort)), "v")]),
+ GlxFunction(Void, "glVertexAttrib4svNV", [(GLuint, "index"), (Array(Const(GLshort), "4"), "v")]),
GlxFunction(Void, "glVertexAttrib4ubNV", [(GLuint, "index"), (GLubyte, "x"), (GLubyte, "y"), (GLubyte, "z"), (GLubyte, "w")]),
- GlxFunction(Void, "glVertexAttrib4ubvNV", [(GLuint, "index"), (Pointer(Const(GLubyte)), "v")]),
+ GlxFunction(Void, "glVertexAttrib4ubvNV", [(GLuint, "index"), (Array(Const(GLubyte), "4"), "v")]),
GlxFunction(Void, "glVertexAttribPointerNV", [(GLuint, "index"), (GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Pointer(Const(GLvoid)), "pointer")]),
- GlxFunction(Void, "glVertexAttribs1dvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLdouble)), "v")]),
- GlxFunction(Void, "glVertexAttribs1fvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLfloat)), "v")]),
- GlxFunction(Void, "glVertexAttribs1svNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLshort)), "v")]),
- GlxFunction(Void, "glVertexAttribs2dvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLdouble)), "v")]),
- GlxFunction(Void, "glVertexAttribs2fvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLfloat)), "v")]),
- GlxFunction(Void, "glVertexAttribs2svNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLshort)), "v")]),
- GlxFunction(Void, "glVertexAttribs3dvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLdouble)), "v")]),
- GlxFunction(Void, "glVertexAttribs3fvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLfloat)), "v")]),
- GlxFunction(Void, "glVertexAttribs3svNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLshort)), "v")]),
- GlxFunction(Void, "glVertexAttribs4dvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLdouble)), "v")]),
- GlxFunction(Void, "glVertexAttribs4fvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLfloat)), "v")]),
- GlxFunction(Void, "glVertexAttribs4svNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLshort)), "v")]),
- GlxFunction(Void, "glVertexAttribs4ubvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLubyte)), "v")]),
+ GlxFunction(Void, "glVertexAttribs1dvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLdouble), "1"), "v")]),
+ GlxFunction(Void, "glVertexAttribs1fvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLfloat), "1"), "v")]),
+ GlxFunction(Void, "glVertexAttribs1svNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLshort), "1"), "v")]),
+ GlxFunction(Void, "glVertexAttribs2dvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLdouble), "2"), "v")]),
+ GlxFunction(Void, "glVertexAttribs2fvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLfloat), "2"), "v")]),
+ GlxFunction(Void, "glVertexAttribs2svNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLshort), "2"), "v")]),
+ GlxFunction(Void, "glVertexAttribs3dvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLdouble), "3"), "v")]),
+ GlxFunction(Void, "glVertexAttribs3fvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLfloat), "3"), "v")]),
+ GlxFunction(Void, "glVertexAttribs3svNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLshort), "3"), "v")]),
+ GlxFunction(Void, "glVertexAttribs4dvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLdouble), "4"), "v")]),
+ GlxFunction(Void, "glVertexAttribs4fvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLfloat), "4"), "v")]),
+ GlxFunction(Void, "glVertexAttribs4svNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLshort), "4"), "v")]),
+ GlxFunction(Void, "glVertexAttribs4ubvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLubyte), "4"), "v")]),
GlxFunction(Void, "glGetTexBumpParameterfvATI", [(GLenum, "pname"), (Pointer(GLfloat), "param")]),
GlxFunction(Void, "glGetTexBumpParameterivATI", [(GLenum, "pname"), (Pointer(GLint), "param")]),
GlxFunction(Void, "glTexBumpParameterfvATI", [(GLenum, "pname"), (Pointer(Const(GLfloat)), "param")]),
GlxFunction(Void, "glGetProgramNamedParameterdvNV", [(GLuint, "id"), (GLsizei, "len"), (Pointer(Const(GLubyte)), "name"), (Pointer(GLdouble), "params")]),
GlxFunction(Void, "glGetProgramNamedParameterfvNV", [(GLuint, "id"), (GLsizei, "len"), (Pointer(Const(GLubyte)), "name"), (Pointer(GLfloat), "params")]),
GlxFunction(Void, "glProgramNamedParameter4dNV", [(GLuint, "id"), (GLsizei, "len"), (Pointer(Const(GLubyte)), "name"), (GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]),
- GlxFunction(Void, "glProgramNamedParameter4dvNV", [(GLuint, "id"), (GLsizei, "len"), (Pointer(Const(GLubyte)), "name"), (Pointer(Const(GLdouble)), "v")]),
+ GlxFunction(Void, "glProgramNamedParameter4dvNV", [(GLuint, "id"), (GLsizei, "len"), (Pointer(Const(GLubyte)), "name"), (Array(Const(GLdouble), "4"), "v")]),
GlxFunction(Void, "glProgramNamedParameter4fNV", [(GLuint, "id"), (GLsizei, "len"), (Pointer(Const(GLubyte)), "name"), (GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]),
- GlxFunction(Void, "glProgramNamedParameter4fvNV", [(GLuint, "id"), (GLsizei, "len"), (Pointer(Const(GLubyte)), "name"), (Pointer(Const(GLfloat)), "v")]),
+ GlxFunction(Void, "glProgramNamedParameter4fvNV", [(GLuint, "id"), (GLsizei, "len"), (Pointer(Const(GLubyte)), "name"), (Array(Const(GLfloat), "4"), "v")]),
GlxFunction(Void, "glDepthBoundsEXT", [(GLclampd, "zmin"), (GLclampd, "zmax")]),
GlxFunction(Void, "glBlendEquationSeparateEXT", [(GLenum, "modeRGB"), (GLenum, "modeA")]),
GlxFunction(Void, "glBindFramebufferEXT", [(GLenum, "target"), (GLuint, "framebuffer")]),
DllFunction(Void, "glFrontFace", [(GLenum, "mode")]),
DllFunction(Void, "glHint", [(GLenum, "target"), (GLenum, "mode")]),
DllFunction(Void, "glLightf", [(GLenum, "light"), (GLenum, "pname"), (GLfloat, "param")]),
- DllFunction(Void, "glLightfv", [(GLenum, "light"), (GLenum, "pname"), (Pointer(Const(GLfloat)), "params")]),
+ DllFunction(Void, "glLightfv", [(GLenum, "light"), (GLenum, "pname"), (Array(Const(GLfloat), "4"), "params")]), # XXX
DllFunction(Void, "glLighti", [(GLenum, "light"), (GLenum, "pname"), (GLint, "param")]),
- DllFunction(Void, "glLightiv", [(GLenum, "light"), (GLenum, "pname"), (Pointer(Const(GLint)), "params")]),
+ DllFunction(Void, "glLightiv", [(GLenum, "light"), (GLenum, "pname"), (Array(Const(GLint), "4"), "params")]), # XXX
DllFunction(Void, "glLightModelf", [(GLenum, "pname"), (GLfloat, "param")]),
- DllFunction(Void, "glLightModelfv", [(GLenum, "pname"), (Pointer(Const(GLfloat)), "params")]),
+ DllFunction(Void, "glLightModelfv", [(GLenum, "pname"), (Array(Const(GLfloat), "4"), "params")]), # XXX
DllFunction(Void, "glLightModeli", [(GLenum, "pname"), (GLint, "param")]),
- DllFunction(Void, "glLightModeliv", [(GLenum, "pname"), (Pointer(Const(GLint)), "params")]),
+ DllFunction(Void, "glLightModeliv", [(GLenum, "pname"), (Array(Const(GLint), "4"), "params")]), # XXX
DllFunction(Void, "glLineStipple", [(GLint, "factor"), (GLushort, "pattern")]),
DllFunction(Void, "glLineWidth", [(GLfloat, "width")]),
DllFunction(Void, "glMaterialf", [(GLenum, "face"), (GLenum, "pname"), (GLfloat, "param")]),
- DllFunction(Void, "glMaterialfv", [(GLenum, "face"), (GLenum, "pname"), (Pointer(Const(GLfloat)), "params")]),
+ DllFunction(Void, "glMaterialfv", [(GLenum, "face"), (GLenum, "pname"), (Array(Const(GLfloat), "4"), "params")]), # XXX
DllFunction(Void, "glMateriali", [(GLenum, "face"), (GLenum, "pname"), (GLint, "param")]),
- DllFunction(Void, "glMaterialiv", [(GLenum, "face"), (GLenum, "pname"), (Pointer(Const(GLint)), "params")]),
+ DllFunction(Void, "glMaterialiv", [(GLenum, "face"), (GLenum, "pname"), (Array(Const(GLint), "4"), "params")]), # XXX
DllFunction(Void, "glPointSize", [(GLfloat, "size")]),
DllFunction(Void, "glPolygonMode", [(GLenum, "face"), (GLenum, "mode")]),
DllFunction(Void, "glPolygonStipple", [(Pointer(Const(GLubyte)), "mask")]),
WglFunction(Void, "glWindowPos2d", [(GLdouble, "x"), (GLdouble, "y")]),
WglFunction(Void, "glWindowPos2dARB", [(GLdouble, "x"), (GLdouble, "y")]),
WglFunction(Void, "glWindowPos2dMESA", [(GLdouble, "x"), (GLdouble, "y")]),
- WglFunction(Void, "glWindowPos2dv", [(Pointer(Const(GLdouble)), "v")]),
- WglFunction(Void, "glWindowPos2dvARB", [(Pointer(Const(GLdouble)), "v")]),
- WglFunction(Void, "glWindowPos2dvMESA", [(Pointer(Const(GLdouble)), "v")]),
+ WglFunction(Void, "glWindowPos2dv", [(Array(Const(GLdouble), "2"), "v")]),
+ WglFunction(Void, "glWindowPos2dvARB", [(Array(Const(GLdouble), "2"), "v")]),
+ WglFunction(Void, "glWindowPos2dvMESA", [(Array(Const(GLdouble), "2"), "v")]),
WglFunction(Void, "glWindowPos2f", [(GLfloat, "x"), (GLfloat, "y")]),
WglFunction(Void, "glWindowPos2fARB", [(GLfloat, "x"), (GLfloat, "y")]),
WglFunction(Void, "glWindowPos2fMESA", [(GLfloat, "x"), (GLfloat, "y")]),
- WglFunction(Void, "glWindowPos2fv", [(Pointer(Const(GLfloat)), "v")]),
- WglFunction(Void, "glWindowPos2fvARB", [(Pointer(Const(GLfloat)), "v")]),
- WglFunction(Void, "glWindowPos2fvMESA", [(Pointer(Const(GLfloat)), "v")]),
+ WglFunction(Void, "glWindowPos2fv", [(Array(Const(GLfloat), "2"), "v")]),
+ WglFunction(Void, "glWindowPos2fvARB", [(Array(Const(GLfloat), "2"), "v")]),
+ WglFunction(Void, "glWindowPos2fvMESA", [(Array(Const(GLfloat), "2"), "v")]),
WglFunction(Void, "glWindowPos2i", [(GLint, "x"), (GLint, "y")]),
WglFunction(Void, "glWindowPos2iARB", [(GLint, "x"), (GLint, "y")]),
WglFunction(Void, "glWindowPos2iMESA", [(GLint, "x"), (GLint, "y")]),
- WglFunction(Void, "glWindowPos2iv", [(Pointer(Const(GLint)), "v")]),
- WglFunction(Void, "glWindowPos2ivARB", [(Pointer(Const(GLint)), "v")]),
- WglFunction(Void, "glWindowPos2ivMESA", [(Pointer(Const(GLint)), "v")]),
+ WglFunction(Void, "glWindowPos2iv", [(Array(Const(GLint), "2"), "v")]),
+ WglFunction(Void, "glWindowPos2ivARB", [(Array(Const(GLint), "2"), "v")]),
+ WglFunction(Void, "glWindowPos2ivMESA", [(Array(Const(GLint), "2"), "v")]),
WglFunction(Void, "glWindowPos2s", [(GLshort, "x"), (GLshort, "y")]),
WglFunction(Void, "glWindowPos2sARB", [(GLshort, "x"), (GLshort, "y")]),
WglFunction(Void, "glWindowPos2sMESA", [(GLshort, "x"), (GLshort, "y")]),
- WglFunction(Void, "glWindowPos2sv", [(Pointer(Const(GLshort)), "v")]),
- WglFunction(Void, "glWindowPos2svARB", [(Pointer(Const(GLshort)), "v")]),
- WglFunction(Void, "glWindowPos2svMESA", [(Pointer(Const(GLshort)), "v")]),
+ WglFunction(Void, "glWindowPos2sv", [(Array(Const(GLshort), "2"), "v")]),
+ WglFunction(Void, "glWindowPos2svARB", [(Array(Const(GLshort), "2"), "v")]),
+ WglFunction(Void, "glWindowPos2svMESA", [(Array(Const(GLshort), "2"), "v")]),
WglFunction(Void, "glWindowPos3d", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]),
WglFunction(Void, "glWindowPos3dARB", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]),
WglFunction(Void, "glWindowPos3dMESA", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z")]),
- WglFunction(Void, "glWindowPos3dv", [(Pointer(Const(GLdouble)), "v")]),
- WglFunction(Void, "glWindowPos3dvARB", [(Pointer(Const(GLdouble)), "v")]),
- WglFunction(Void, "glWindowPos3dvMESA", [(Pointer(Const(GLdouble)), "v")]),
+ WglFunction(Void, "glWindowPos3dv", [(Array(Const(GLdouble), "3"), "v")]),
+ WglFunction(Void, "glWindowPos3dvARB", [(Array(Const(GLdouble), "3"), "v")]),
+ WglFunction(Void, "glWindowPos3dvMESA", [(Array(Const(GLdouble), "3"), "v")]),
WglFunction(Void, "glWindowPos3f", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]),
WglFunction(Void, "glWindowPos3fARB", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]),
WglFunction(Void, "glWindowPos3fMESA", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z")]),
WglFunction(Void, "glWindowPos3i", [(GLint, "x"), (GLint, "y"), (GLint, "z")]),
WglFunction(Void, "glWindowPos3iARB", [(GLint, "x"), (GLint, "y"), (GLint, "z")]),
WglFunction(Void, "glWindowPos3iMESA", [(GLint, "x"), (GLint, "y"), (GLint, "z")]),
- WglFunction(Void, "glWindowPos3iv", [(Pointer(Const(GLint)), "v")]),
- WglFunction(Void, "glWindowPos3ivARB", [(Pointer(Const(GLint)), "v")]),
- WglFunction(Void, "glWindowPos3ivMESA", [(Pointer(Const(GLint)), "v")]),
+ WglFunction(Void, "glWindowPos3iv", [(Array(Const(GLint), "3"), "v")]),
+ WglFunction(Void, "glWindowPos3ivARB", [(Array(Const(GLint), "3"), "v")]),
+ WglFunction(Void, "glWindowPos3ivMESA", [(Array(Const(GLint), "3"), "v")]),
WglFunction(Void, "glWindowPos3s", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]),
WglFunction(Void, "glWindowPos3sARB", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]),
WglFunction(Void, "glWindowPos3sMESA", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z")]),
- WglFunction(Void, "glWindowPos3sv", [(Pointer(Const(GLshort)), "v")]),
- WglFunction(Void, "glWindowPos3svARB", [(Pointer(Const(GLshort)), "v")]),
- WglFunction(Void, "glWindowPos3svMESA", [(Pointer(Const(GLshort)), "v")]),
+ WglFunction(Void, "glWindowPos3sv", [(Array(Const(GLshort), "3"), "v")]),
+ WglFunction(Void, "glWindowPos3svARB", [(Array(Const(GLshort), "3"), "v")]),
+ WglFunction(Void, "glWindowPos3svMESA", [(Array(Const(GLshort), "3"), "v")]),
WglFunction(Void, "glWindowPos4dMESA", [(GLdouble, "x"), (GLdouble, "y"), (GLdouble, "z"), (GLdouble, "w")]),
- WglFunction(Void, "glWindowPos4dvMESA", [(Pointer(Const(GLdouble)), "v")]),
+ WglFunction(Void, "glWindowPos4dvMESA", [(Array(Const(GLdouble), "4"), "v")]),
WglFunction(Void, "glWindowPos4fMESA", [(GLfloat, "x"), (GLfloat, "y"), (GLfloat, "z"), (GLfloat, "w")]),
- WglFunction(Void, "glWindowPos4fvMESA", [(Pointer(Const(GLfloat)), "v")]),
+ WglFunction(Void, "glWindowPos4fvMESA", [(Array(Const(GLfloat), "4"), "v")]),
WglFunction(Void, "glWindowPos4iMESA", [(GLint, "x"), (GLint, "y"), (GLint, "z"), (GLint, "w")]),
- WglFunction(Void, "glWindowPos4ivMESA", [(Pointer(Const(GLint)), "v")]),
+ WglFunction(Void, "glWindowPos4ivMESA", [(Array(Const(GLint), "4"), "v")]),
WglFunction(Void, "glWindowPos4sMESA", [(GLshort, "x"), (GLshort, "y"), (GLshort, "z"), (GLshort, "w")]),
- WglFunction(Void, "glWindowPos4svMESA", [(Pointer(Const(GLshort)), "v")]),
+ WglFunction(Void, "glWindowPos4svMESA", [(Array(Const(GLshort), "4"), "v")]),
WglFunction(Void, "glMultiModeDrawArraysIBM", [(Pointer(Const(GLenum)), "mode"), (Pointer(Const(GLint)), "first"), (Pointer(Const(GLsizei)), "count"), (GLsizei, "primcount"), (GLint, "modestride")]),
WglFunction(Void, "glMultiModeDrawElementsIBM", [(Pointer(Const(GLenum)), "mode"), (Pointer(Const(GLsizei)), "count"), (GLenum, "type"), (Pointer(Const(Pointer(Const(GLvoid)))), "indices"), (GLsizei, "primcount"), (GLint, "modestride")]),
WglFunction(Void, "glDeleteFencesNV", [(GLsizei, "n"), (Pointer(Const(GLuint)), "fences")]),
WglFunction(Void, "glVertexAttrib4ubNV", [(GLuint, "index"), (GLubyte, "x"), (GLubyte, "y"), (GLubyte, "z"), (GLubyte, "w")]),
WglFunction(Void, "glVertexAttrib4ubvNV", [(GLuint, "index"), (Array(Const(GLubyte), "4"), "v")]),
WglFunction(Void, "glVertexAttribPointerNV", [(GLuint, "index"), (GLint, "size"), (GLenum, "type"), (GLsizei, "stride"), (Pointer(Const(GLvoid)), "pointer")]),
- WglFunction(Void, "glVertexAttribs1dvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLdouble)), "v")]),
- WglFunction(Void, "glVertexAttribs1fvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLfloat)), "v")]),
- WglFunction(Void, "glVertexAttribs1svNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLshort)), "v")]),
- WglFunction(Void, "glVertexAttribs2dvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLdouble)), "v")]),
- WglFunction(Void, "glVertexAttribs2fvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLfloat)), "v")]),
- WglFunction(Void, "glVertexAttribs2svNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLshort)), "v")]),
- WglFunction(Void, "glVertexAttribs3dvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLdouble)), "v")]),
- WglFunction(Void, "glVertexAttribs3fvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLfloat)), "v")]),
- WglFunction(Void, "glVertexAttribs3svNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLshort)), "v")]),
- WglFunction(Void, "glVertexAttribs4dvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLdouble)), "v")]),
- WglFunction(Void, "glVertexAttribs4fvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLfloat)), "v")]),
- WglFunction(Void, "glVertexAttribs4svNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLshort)), "v")]),
- WglFunction(Void, "glVertexAttribs4ubvNV", [(GLuint, "index"), (GLsizei, "n"), (Pointer(Const(GLubyte)), "v")]),
+ WglFunction(Void, "glVertexAttribs1dvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLdouble), "1"), "v")]),
+ WglFunction(Void, "glVertexAttribs1fvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLfloat), "1"), "v")]),
+ WglFunction(Void, "glVertexAttribs1svNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLshort), "1"), "v")]),
+ WglFunction(Void, "glVertexAttribs2dvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLdouble), "2"), "v")]),
+ WglFunction(Void, "glVertexAttribs2fvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLfloat), "2"), "v")]),
+ WglFunction(Void, "glVertexAttribs2svNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLshort), "2"), "v")]),
+ WglFunction(Void, "glVertexAttribs3dvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLdouble), "3"), "v")]),
+ WglFunction(Void, "glVertexAttribs3fvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLfloat), "3"), "v")]),
+ WglFunction(Void, "glVertexAttribs3svNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLshort), "3"), "v")]),
+ WglFunction(Void, "glVertexAttribs4dvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLdouble), "4"), "v")]),
+ WglFunction(Void, "glVertexAttribs4fvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLfloat), "4"), "v")]),
+ WglFunction(Void, "glVertexAttribs4svNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLshort), "4"), "v")]),
+ WglFunction(Void, "glVertexAttribs4ubvNV", [(GLuint, "index"), (GLsizei, "n"), (Array(Const(GLubyte), "4"), "v")]),
WglFunction(Void, "glGetTexBumpParameterfvATI", [(GLenum, "pname"), (Pointer(GLfloat), "param")]),
WglFunction(Void, "glGetTexBumpParameterivATI", [(GLenum, "pname"), (Pointer(GLint), "param")]),
WglFunction(Void, "glTexBumpParameterfvATI", [(GLenum, "pname"), (Pointer(Const(GLfloat)), "param")]),