/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2008-2009. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
* compliance with the License. You should have received a copy of the
* Erlang Public License along with this software. If not, it can be
* retrieved online at http://www.erlang.org/.
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* %CopyrightEnd%
*/
/***** This file is generated do not edit ****/
static struct {
const char * name;
const char * alt;
void * func;
} gl_fns[] =
{
{"glAccum", NULL, &weglAccum},
{"glAlphaFunc", NULL, &weglAlphaFunc},
{"glAreTexturesResident", NULL, &weglAreTexturesResident},
{"glArrayElement", NULL, &weglArrayElement},
{"glBegin", NULL, &weglBegin},
{"glBindTexture", NULL, &weglBindTexture},
{"glBitmap", NULL, &weglBitmap},
{"glBlendFunc", NULL, &weglBlendFunc},
{"glCallList", NULL, &weglCallList},
{"glCallLists", NULL, &weglCallLists},
{"glClear", NULL, &weglClear},
{"glClearAccum", NULL, &weglClearAccum},
{"glClearColor", NULL, &weglClearColor},
{"glClearDepth", NULL, &weglClearDepth},
{"glClearIndex", NULL, &weglClearIndex},
{"glClearStencil", NULL, &weglClearStencil},
{"glClipPlane", NULL, &weglClipPlane},
{"glColor3bv", NULL, &weglColor3bv},
{"glColor3dv", NULL, &weglColor3dv},
{"glColor3fv", NULL, &weglColor3fv},
{"glColor3iv", NULL, &weglColor3iv},
{"glColor3sv", NULL, &weglColor3sv},
{"glColor3ubv", NULL, &weglColor3ubv},
{"glColor3uiv", NULL, &weglColor3uiv},
{"glColor3usv", NULL, &weglColor3usv},
{"glColor4bv", NULL, &weglColor4bv},
{"glColor4dv", NULL, &weglColor4dv},
{"glColor4fv", NULL, &weglColor4fv},
{"glColor4iv", NULL, &weglColor4iv},
{"glColor4sv", NULL, &weglColor4sv},
{"glColor4ubv", NULL, &weglColor4ubv},
{"glColor4uiv", NULL, &weglColor4uiv},
{"glColor4usv", NULL, &weglColor4usv},
{"glColorMask", NULL, &weglColorMask},
{"glColorMaterial", NULL, &weglColorMaterial},
{"glColorPointer", NULL, &weglColorPointer},
{"glCopyPixels", NULL, &weglCopyPixels},
{"glCopyTexImage1D", NULL, &weglCopyTexImage1D},
{"glCopyTexImage2D", NULL, &weglCopyTexImage2D},
{"glCopyTexSubImage1D", NULL, &weglCopyTexSubImage1D},
{"glCopyTexSubImage2D", NULL, &weglCopyTexSubImage2D},
{"glCullFace", NULL, &weglCullFace},
{"glDeleteLists", NULL, &weglDeleteLists},
{"glDeleteTextures", NULL, &weglDeleteTextures},
{"glDepthFunc", NULL, &weglDepthFunc},
{"glDepthMask", NULL, &weglDepthMask},
{"glDepthRange", NULL, &weglDepthRange},
{"glDisable", NULL, &weglDisable},
{"glDisableClientState", NULL, &weglDisableClientState},
{"glDrawArrays", NULL, &weglDrawArrays},
{"glDrawBuffer", NULL, &weglDrawBuffer},
{"glDrawElements", NULL, &weglDrawElements},
{"glDrawPixels", NULL, &weglDrawPixels},
{"glEdgeFlagv", NULL, &weglEdgeFlagv},
{"glEdgeFlagPointer", NULL, &weglEdgeFlagPointer},
{"glEnable", NULL, &weglEnable},
{"glEnableClientState", NULL, &weglEnableClientState},
{"glEnd", NULL, &weglEnd},
{"glEndList", NULL, &weglEndList},
{"glEvalCoord1dv", NULL, &weglEvalCoord1dv},
{"glEvalCoord1fv", NULL, &weglEvalCoord1fv},
{"glEvalCoord2dv", NULL, &weglEvalCoord2dv},
{"glEvalCoord2fv", NULL, &weglEvalCoord2fv},
{"glEvalMesh1", NULL, &weglEvalMesh1},
{"glEvalMesh2", NULL, &weglEvalMesh2},
{"glEvalPoint1", NULL, &weglEvalPoint1},
{"glEvalPoint2", NULL, &weglEvalPoint2},
{"glFeedbackBuffer", NULL, &weglFeedbackBuffer},
{"glFinish", NULL, &weglFinish},
{"glFlush", NULL, &weglFlush},
{"glFogf", NULL, &weglFogf},
{"glFogfv", NULL, &weglFogfv},
{"glFogi", NULL, &weglFogi},
{"glFogiv", NULL, &weglFogiv},
{"glFrontFace", NULL, &weglFrontFace},
{"glFrustum", NULL, &weglFrustum},
{"glGenLists", NULL, &weglGenLists},
{"glGenTextures", NULL, &weglGenTextures},
{"glGetBooleanv", NULL, &weglGetBooleanv},
{"glGetClipPlane", NULL, &weglGetClipPlane},
{"glGetDoublev", NULL, &weglGetDoublev},
{"glGetError", NULL, &weglGetError},
{"glGetFloatv", NULL, &weglGetFloatv},
{"glGetIntegerv", NULL, &weglGetIntegerv},
{"glGetLightfv", NULL, &weglGetLightfv},
{"glGetLightiv", NULL, &weglGetLightiv},
{"glGetMapdv", NULL, &weglGetMapdv},
{"glGetMapfv", NULL, &weglGetMapfv},
{"glGetMapiv", NULL, &weglGetMapiv},
{"glGetMaterialfv", NULL, &weglGetMaterialfv},
{"glGetMaterialiv", NULL, &weglGetMaterialiv},
{"glGetPixelMapfv", NULL, &weglGetPixelMapfv},
{"glGetPixelMapuiv", NULL, &weglGetPixelMapuiv},
{"glGetPixelMapusv", NULL, &weglGetPixelMapusv},
{"glGetPolygonStipple", NULL, &weglGetPolygonStipple},
{"glGetString", NULL, &weglGetString},
{"glGetTexEnvfv", NULL, &weglGetTexEnvfv},
{"glGetTexEnviv", NULL, &weglGetTexEnviv},
{"glGetTexGendv", NULL, &weglGetTexGendv},
{"glGetTexGenfv", NULL, &weglGetTexGenfv},
{"glGetTexGeniv", NULL, &weglGetTexGeniv},
{"glGetTexImage", NULL, &weglGetTexImage},
{"glGetTexLevelParameterfv", NULL, &weglGetTexLevelParameterfv},
{"glGetTexLevelParameteriv", NULL, &weglGetTexLevelParameteriv},
{"glGetTexParameterfv", NULL, &weglGetTexParameterfv},
{"glGetTexParameteriv", NULL, &weglGetTexParameteriv},
{"glHint", NULL, &weglHint},
{"glIndexMask", NULL, &weglIndexMask},
{"glIndexPointer", NULL, &weglIndexPointer},
{"glIndexdv", NULL, &weglIndexdv},
{"glIndexfv", NULL, &weglIndexfv},
{"glIndexiv", NULL, &weglIndexiv},
{"glIndexsv", NULL, &weglIndexsv},
{"glIndexubv", NULL, &weglIndexubv},
{"glInitNames", NULL, &weglInitNames},
{"glInterleavedArrays", NULL, &weglInterleavedArrays},
{"glIsEnabled", NULL, &weglIsEnabled},
{"glIsList", NULL, &weglIsList},
{"glIsTexture", NULL, &weglIsTexture},
{"glLightModelf", NULL, &weglLightModelf},
{"glLightModelfv", NULL, &weglLightModelfv},
{"glLightModeli", NULL, &weglLightModeli},
{"glLightModeliv", NULL, &weglLightModeliv},
{"glLightf", NULL, &weglLightf},
{"glLightfv", NULL, &weglLightfv},
{"glLighti", NULL, &weglLighti},
{"glLightiv", NULL, &weglLightiv},
{"glLineStipple", NULL, &weglLineStipple},
{"glLineWidth", NULL, &weglLineWidth},
{"glListBase", NULL, &weglListBase},
{"glLoadIdentity", NULL, &weglLoadIdentity},
{"glLoadMatrixd", NULL, &weglLoadMatrixd},
{"glLoadMatrixf", NULL, &weglLoadMatrixf},
{"glLoadName", NULL, &weglLoadName},
{"glLogicOp", NULL, &weglLogicOp},
{"glMap1d", NULL, &weglMap1d},
{"glMap1f", NULL, &weglMap1f},
{"glMap2d", NULL, &weglMap2d},
{"glMap2f", NULL, &weglMap2f},
{"glMapGrid1d", NULL, &weglMapGrid1d},
{"glMapGrid1f", NULL, &weglMapGrid1f},
{"glMapGrid2d", NULL, &weglMapGrid2d},
{"glMapGrid2f", NULL, &weglMapGrid2f},
{"glMaterialf", NULL, &weglMaterialf},
{"glMaterialfv", NULL, &weglMaterialfv},
{"glMateriali", NULL, &weglMateriali},
{"glMaterialiv", NULL, &weglMaterialiv},
{"glMatrixMode", NULL, &weglMatrixMode},
{"glMultMatrixd", NULL, &weglMultMatrixd},
{"glMultMatrixf", NULL, &weglMultMatrixf},
{"glNewList", NULL, &weglNewList},
{"glNormal3bv", NULL, &weglNormal3bv},
{"glNormal3dv", NULL, &weglNormal3dv},
{"glNormal3fv", NULL, &weglNormal3fv},
{"glNormal3iv", NULL, &weglNormal3iv},
{"glNormal3sv", NULL, &weglNormal3sv},
{"glNormalPointer", NULL, &weglNormalPointer},
{"glOrtho", NULL, &weglOrtho},
{"glPassThrough", NULL, &weglPassThrough},
{"glPixelMapfv", NULL, &weglPixelMapfv},
{"glPixelMapuiv", NULL, &weglPixelMapuiv},
{"glPixelMapusv", NULL, &weglPixelMapusv},
{"glPixelStoref", NULL, &weglPixelStoref},
{"glPixelStorei", NULL, &weglPixelStorei},
{"glPixelTransferf", NULL, &weglPixelTransferf},
{"glPixelTransferi", NULL, &weglPixelTransferi},
{"glPixelZoom", NULL, &weglPixelZoom},
{"glPointSize", NULL, &weglPointSize},
{"glPolygonMode", NULL, &weglPolygonMode},
{"glPolygonOffset", NULL, &weglPolygonOffset},
{"glPolygonStipple", NULL, &weglPolygonStipple},
{"glPopAttrib", NULL, &weglPopAttrib},
{"glPopClientAttrib", NULL, &weglPopClientAttrib},
{"glPopMatrix", NULL, &weglPopMatrix},
{"glPopName", NULL, &weglPopName},
{"glPrioritizeTextures", NULL, &weglPrioritizeTextures},
{"glPushAttrib", NULL, &weglPushAttrib},
{"glPushClientAttrib", NULL, &weglPushClientAttrib},
{"glPushMatrix", NULL, &weglPushMatrix},
{"glPushName", NULL, &weglPushName},
{"glRasterPos2dv", NULL, &weglRasterPos2dv},
{"glRasterPos2fv", NULL, &weglRasterPos2fv},
{"glRasterPos2iv", NULL, &weglRasterPos2iv},
{"glRasterPos2sv", NULL, &weglRasterPos2sv},
{"glRasterPos3dv", NULL, &weglRasterPos3dv},
{"glRasterPos3fv", NULL, &weglRasterPos3fv},
{"glRasterPos3iv", NULL, &weglRasterPos3iv},
{"glRasterPos3sv", NULL, &weglRasterPos3sv},
{"glRasterPos4dv", NULL, &weglRasterPos4dv},
{"glRasterPos4fv", NULL, &weglRasterPos4fv},
{"glRasterPos4iv", NULL, &weglRasterPos4iv},
{"glRasterPos4sv", NULL, &weglRasterPos4sv},
{"glReadBuffer", NULL, &weglReadBuffer},
{"glReadPixels", NULL, &weglReadPixels},
{"glRectd", NULL, &weglRectd},
{"glRectdv", NULL, &weglRectdv},
{"glRectf", NULL, &weglRectf},
{"glRectfv", NULL, &weglRectfv},
{"glRecti", NULL, &weglRecti},
{"glRectiv", NULL, &weglRectiv},
{"glRects", NULL, &weglRects},
{"glRectsv", NULL, &weglRectsv},
{"glRenderMode", NULL, &weglRenderMode},
{"glRotated", NULL, &weglRotated},
{"glRotatef", NULL, &weglRotatef},
{"glScaled", NULL, &weglScaled},
{"glScalef", NULL, &weglScalef},
{"glScissor", NULL, &weglScissor},
{"glSelectBuffer", NULL, &weglSelectBuffer},
{"glShadeModel", NULL, &weglShadeModel},
{"glStencilFunc", NULL, &weglStencilFunc},
{"glStencilMask", NULL, &weglStencilMask},
{"glStencilOp", NULL, &weglStencilOp},
{"glTexCoord1dv", NULL, &weglTexCoord1dv},
{"glTexCoord1fv", NULL, &weglTexCoord1fv},
{"glTexCoord1iv", NULL, &weglTexCoord1iv},
{"glTexCoord1sv", NULL, &weglTexCoord1sv},
{"glTexCoord2dv", NULL, &weglTexCoord2dv},
{"glTexCoord2fv", NULL, &weglTexCoord2fv},
{"glTexCoord2iv", NULL, &weglTexCoord2iv},
{"glTexCoord2sv", NULL, &weglTexCoord2sv},
{"glTexCoord3dv", NULL, &weglTexCoord3dv},
{"glTexCoord3fv", NULL, &weglTexCoord3fv},
{"glTexCoord3iv", NULL, &weglTexCoord3iv},
{"glTexCoord3sv", NULL, &weglTexCoord3sv},
{"glTexCoord4dv", NULL, &weglTexCoord4dv},
{"glTexCoord4fv", NULL, &weglTexCoord4fv},
{"glTexCoord4iv", NULL, &weglTexCoord4iv},
{"glTexCoord4sv", NULL, &weglTexCoord4sv},
{"glTexCoordPointer", NULL, &weglTexCoordPointer},
{"glTexEnvf", NULL, &weglTexEnvf},
{"glTexEnvfv", NULL, &weglTexEnvfv},
{"glTexEnvi", NULL, &weglTexEnvi},
{"glTexEnviv", NULL, &weglTexEnviv},
{"glTexGend", NULL, &weglTexGend},
{"glTexGendv", NULL, &weglTexGendv},
{"glTexGenf", NULL, &weglTexGenf},
{"glTexGenfv", NULL, &weglTexGenfv},
{"glTexGeni", NULL, &weglTexGeni},
{"glTexGeniv", NULL, &weglTexGeniv},
{"glTexImage1D", NULL, &weglTexImage1D},
{"glTexImage2D", NULL, &weglTexImage2D},
{"glTexParameterf", NULL, &weglTexParameterf},
{"glTexParameterfv", NULL, &weglTexParameterfv},
{"glTexParameteri", NULL, &weglTexParameteri},
{"glTexParameteriv", NULL, &weglTexParameteriv},
{"glTexSubImage1D", NULL, &weglTexSubImage1D},
{"glTexSubImage2D", NULL, &weglTexSubImage2D},
{"glTranslated", NULL, &weglTranslated},
{"glTranslatef", NULL, &weglTranslatef},
{"glVertex2dv", NULL, &weglVertex2dv},
{"glVertex2fv", NULL, &weglVertex2fv},
{"glVertex2iv", NULL, &weglVertex2iv},
{"glVertex2sv", NULL, &weglVertex2sv},
{"glVertex3dv", NULL, &weglVertex3dv},
{"glVertex3fv", NULL, &weglVertex3fv},
{"glVertex3iv", NULL, &weglVertex3iv},
{"glVertex3sv", NULL, &weglVertex3sv},
{"glVertex4dv", NULL, &weglVertex4dv},
{"glVertex4fv", NULL, &weglVertex4fv},
{"glVertex4iv", NULL, &weglVertex4iv},
{"glVertex4sv", NULL, &weglVertex4sv},
{"glVertexPointer", NULL, &weglVertexPointer},
{"glViewport", NULL, &weglViewport},
{"glBlendColor", NULL, &weglBlendColor},
{"glBlendEquation", NULL, &weglBlendEquation},
{"glDrawRangeElements", NULL, &weglDrawRangeElements},
{"glTexImage3D", NULL, &weglTexImage3D},
{"glTexSubImage3D", NULL, &weglTexSubImage3D},
{"glCopyTexSubImage3D", NULL, &weglCopyTexSubImage3D},
{"glColorTable", "glColorTableSGI", &weglColorTable},
{"glColorTableParameterfv", "glColorTableParameterfvSGI", &weglColorTableParameterfv},
{"glColorTableParameteriv", "glColorTableParameterivSGI", &weglColorTableParameteriv},
{"glCopyColorTable", "glCopyColorTableSGI", &weglCopyColorTable},
{"glGetColorTable", "glGetColorTableSGI", &weglGetColorTable},
{"glGetColorTableParameterfv", "glGetColorTableParameterfvSGI", &weglGetColorTableParameterfv},
{"glGetColorTableParameteriv", "glGetColorTableParameterivSGI", &weglGetColorTableParameteriv},
{"glColorSubTable", NULL, &weglColorSubTable},
{"glCopyColorSubTable", NULL, &weglCopyColorSubTable},
{"glConvolutionFilter1D", NULL, &weglConvolutionFilter1D},
{"glConvolutionFilter2D", NULL, &weglConvolutionFilter2D},
{"glConvolutionParameterfv", NULL, &weglConvolutionParameterfv},
{"glConvolutionParameteriv", NULL, &weglConvolutionParameteriv},
{"glCopyConvolutionFilter1D", NULL, &weglCopyConvolutionFilter1D},
{"glCopyConvolutionFilter2D", NULL, &weglCopyConvolutionFilter2D},
{"glGetConvolutionFilter", NULL, &weglGetConvolutionFilter},
{"glGetConvolutionParameterfv", NULL, &weglGetConvolutionParameterfv},
{"glGetConvolutionParameteriv", NULL, &weglGetConvolutionParameteriv},
{"glSeparableFilter2D", NULL, &weglSeparableFilter2D},
{"glGetHistogram", NULL, &weglGetHistogram},
{"glGetHistogramParameterfv", NULL, &weglGetHistogramParameterfv},
{"glGetHistogramParameteriv", NULL, &weglGetHistogramParameteriv},
{"glGetMinmax", NULL, &weglGetMinmax},
{"glGetMinmaxParameterfv", NULL, &weglGetMinmaxParameterfv},
{"glGetMinmaxParameteriv", NULL, &weglGetMinmaxParameteriv},
{"glHistogram", NULL, &weglHistogram},
{"glMinmax", NULL, &weglMinmax},
{"glResetHistogram", NULL, &weglResetHistogram},
{"glResetMinmax", NULL, &weglResetMinmax},
{"glActiveTexture", "glActiveTextureARB", &weglActiveTexture},
{"glSampleCoverage", "glSampleCoverageARB", &weglSampleCoverage},
{"glCompressedTexImage3D", "glCompressedTexImage3DARB", &weglCompressedTexImage3D},
{"glCompressedTexImage2D", "glCompressedTexImage2DARB", &weglCompressedTexImage2D},
{"glCompressedTexImage1D", "glCompressedTexImage1DARB", &weglCompressedTexImage1D},
{"glCompressedTexSubImage3D", "glCompressedTexSubImage3DARB", &weglCompressedTexSubImage3D},
{"glCompressedTexSubImage2D", "glCompressedTexSubImage2DARB", &weglCompressedTexSubImage2D},
{"glCompressedTexSubImage1D", "glCompressedTexSubImage1DARB", &weglCompressedTexSubImage1D},
{"glGetCompressedTexImage", "glGetCompressedTexImageARB", &weglGetCompressedTexImage},
{"glClientActiveTexture", "glClientActiveTextureARB", &weglClientActiveTexture},
{"glMultiTexCoord1dv", "glMultiTexCoord1dvARB", &weglMultiTexCoord1dv},
{"glMultiTexCoord1fv", "glMultiTexCoord1fvARB", &weglMultiTexCoord1fv},
{"glMultiTexCoord1iv", "glMultiTexCoord1ivARB", &weglMultiTexCoord1iv},
{"glMultiTexCoord1sv", "glMultiTexCoord1svARB", &weglMultiTexCoord1sv},
{"glMultiTexCoord2dv", "glMultiTexCoord2dvARB", &weglMultiTexCoord2dv},
{"glMultiTexCoord2fv", "glMultiTexCoord2fvARB", &weglMultiTexCoord2fv},
{"glMultiTexCoord2iv", "glMultiTexCoord2ivARB", &weglMultiTexCoord2iv},
{"glMultiTexCoord2sv", "glMultiTexCoord2svARB", &weglMultiTexCoord2sv},
{"glMultiTexCoord3dv", "glMultiTexCoord3dvARB", &weglMultiTexCoord3dv},
{"glMultiTexCoord3fv", "glMultiTexCoord3fvARB", &weglMultiTexCoord3fv},
{"glMultiTexCoord3iv", "glMultiTexCoord3ivARB", &weglMultiTexCoord3iv},
{"glMultiTexCoord3sv", "glMultiTexCoord3svARB", &weglMultiTexCoord3sv},
{"glMultiTexCoord4dv", "glMultiTexCoord4dvARB", &weglMultiTexCoord4dv},
{"glMultiTexCoord4fv", "glMultiTexCoord4fvARB", &weglMultiTexCoord4fv},
{"glMultiTexCoord4iv", "glMultiTexCoord4ivARB", &weglMultiTexCoord4iv},
{"glMultiTexCoord4sv", "glMultiTexCoord4svARB", &weglMultiTexCoord4sv},
{"glLoadTransposeMatrixf", NULL, &weglLoadTransposeMatrixf},
{"glLoadTransposeMatrixd", NULL, &weglLoadTransposeMatrixd},
{"glMultTransposeMatrixf", NULL, &weglMultTransposeMatrixf},
{"glMultTransposeMatrixd", NULL, &weglMultTransposeMatrixd},
{"glBlendFuncSeparate", "glBlendFuncSeparateINGR", &weglBlendFuncSeparate},
{"glMultiDrawArrays", NULL, &weglMultiDrawArrays},
{"glPointParameterf", "glPointParameterfARB", &weglPointParameterf},
{"glPointParameterfv", "glPointParameterfvARB", &weglPointParameterfv},
{"glPointParameteri", NULL, &weglPointParameteri},
{"glPointParameteriv", NULL, &weglPointParameteriv},
{"glFogCoordfv", NULL, &weglFogCoordfv},
{"glFogCoorddv", NULL, &weglFogCoorddv},
{"glFogCoordPointer", NULL, &weglFogCoordPointer},
{"glSecondaryColor3bv", NULL, &weglSecondaryColor3bv},
{"glSecondaryColor3dv", NULL, &weglSecondaryColor3dv},
{"glSecondaryColor3fv", NULL, &weglSecondaryColor3fv},
{"glSecondaryColor3iv", NULL, &weglSecondaryColor3iv},
{"glSecondaryColor3sv", NULL, &weglSecondaryColor3sv},
{"glSecondaryColor3ubv", NULL, &weglSecondaryColor3ubv},
{"glSecondaryColor3uiv", NULL, &weglSecondaryColor3uiv},
{"glSecondaryColor3usv", NULL, &weglSecondaryColor3usv},
{"glSecondaryColorPointer", NULL, &weglSecondaryColorPointer},
{"glWindowPos2dv", "glWindowPos2dvMESA", &weglWindowPos2dv},
{"glWindowPos2fv", "glWindowPos2fvMESA", &weglWindowPos2fv},
{"glWindowPos2iv", "glWindowPos2ivMESA", &weglWindowPos2iv},
{"glWindowPos2sv", "glWindowPos2svMESA", &weglWindowPos2sv},
{"glWindowPos3dv", "glWindowPos3dvMESA", &weglWindowPos3dv},
{"glWindowPos3fv", "glWindowPos3fvMESA", &weglWindowPos3fv},
{"glWindowPos3iv", "glWindowPos3ivMESA", &weglWindowPos3iv},
{"glWindowPos3sv", "glWindowPos3svMESA", &weglWindowPos3sv},
{"glGenQueries", "glGenQueriesARB", &weglGenQueries},
{"glDeleteQueries", "glDeleteQueriesARB", &weglDeleteQueries},
{"glIsQuery", "glIsQueryARB", &weglIsQuery},
{"glBeginQuery", "glBeginQueryARB", &weglBeginQuery},
{"glEndQuery", "glEndQueryARB", &weglEndQuery},
{"glGetQueryiv", "glGetQueryivARB", &weglGetQueryiv},
{"glGetQueryObjectiv", "glGetQueryObjectivARB", &weglGetQueryObjectiv},
{"glGetQueryObjectuiv", "glGetQueryObjectuivARB", &weglGetQueryObjectuiv},
{"glBindBuffer", "glBindBufferARB", &weglBindBuffer},
{"glDeleteBuffers", "glDeleteBuffersARB", &weglDeleteBuffers},
{"glGenBuffers", "glGenBuffersARB", &weglGenBuffers},
{"glIsBuffer", "glIsBufferARB", &weglIsBuffer},
{"glBufferData", "glBufferDataARB", &weglBufferData},
{"glBufferSubData", "glBufferSubDataARB", &weglBufferSubData},
{"glGetBufferSubData", "glGetBufferSubDataARB", &weglGetBufferSubData},
{"glGetBufferParameteriv", "glGetBufferParameterivARB", &weglGetBufferParameteriv},
{"glBlendEquationSeparate", "glBlendEquationSeparateEXT", &weglBlendEquationSeparate},
{"glDrawBuffers", "glDrawBuffersARB", &weglDrawBuffers},
{"glStencilOpSeparate", "glStencilOpSeparateATI", &weglStencilOpSeparate},
{"glStencilFuncSeparate", "glStencilFuncSeparateATI", &weglStencilFuncSeparate},
{"glStencilMaskSeparate", NULL, &weglStencilMaskSeparate},
{"glAttachShader", NULL, &weglAttachShader},
{"glBindAttribLocation", NULL, &weglBindAttribLocation},
{"glCompileShader", NULL, &weglCompileShader},
{"glCreateProgram", NULL, &weglCreateProgram},
{"glCreateShader", NULL, &weglCreateShader},
{"glDeleteProgram", NULL, &weglDeleteProgram},
{"glDeleteShader", NULL, &weglDeleteShader},
{"glDetachShader", NULL, &weglDetachShader},
{"glDisableVertexAttribArray", "glDisableVertexAttribArrayARB", &weglDisableVertexAttribArray},
{"glEnableVertexAttribArray", "glEnableVertexAttribArrayARB", &weglEnableVertexAttribArray},
{"glGetActiveAttrib", NULL, &weglGetActiveAttrib},
{"glGetActiveUniform", NULL, &weglGetActiveUniform},
{"glGetAttachedShaders", NULL, &weglGetAttachedShaders},
{"glGetAttribLocation", NULL, &weglGetAttribLocation},
{"glGetProgramiv", "glGetProgramivARB", &weglGetProgramiv},
{"glGetProgramInfoLog", NULL, &weglGetProgramInfoLog},
{"glGetShaderiv", NULL, &weglGetShaderiv},
{"glGetShaderInfoLog", NULL, &weglGetShaderInfoLog},
{"glGetShaderSource", NULL, &weglGetShaderSource},
{"glGetUniformLocation", NULL, &weglGetUniformLocation},
{"glGetUniformfv", NULL, &weglGetUniformfv},
{"glGetUniformiv", NULL, &weglGetUniformiv},
{"glGetVertexAttribdv", "glGetVertexAttribdvARB", &weglGetVertexAttribdv},
{"glGetVertexAttribfv", "glGetVertexAttribfvARB", &weglGetVertexAttribfv},
{"glGetVertexAttribiv", "glGetVertexAttribivARB", &weglGetVertexAttribiv},
{"glIsProgram", "glIsProgramARB", &weglIsProgram},
{"glIsShader", NULL, &weglIsShader},
{"glLinkProgram", NULL, &weglLinkProgram},
{"glShaderSource", NULL, &weglShaderSource},
{"glUseProgram", NULL, &weglUseProgram},
{"glUniform1f", "glUniform1fARB", &weglUniform1f},
{"glUniform2f", "glUniform2fARB", &weglUniform2f},
{"glUniform3f", "glUniform3fARB", &weglUniform3f},
{"glUniform4f", "glUniform4fARB", &weglUniform4f},
{"glUniform1i", "glUniform1iARB", &weglUniform1i},
{"glUniform2i", "glUniform2iARB", &weglUniform2i},
{"glUniform3i", "glUniform3iARB", &weglUniform3i},
{"glUniform4i", "glUniform4iARB", &weglUniform4i},
{"glUniform1fv", "glUniform1fvARB", &weglUniform1fv},
{"glUniform2fv", "glUniform2fvARB", &weglUniform2fv},
{"glUniform3fv", "glUniform3fvARB", &weglUniform3fv},
{"glUniform4fv", "glUniform4fvARB", &weglUniform4fv},
{"glUniform1iv", "glUniform1ivARB", &weglUniform1iv},
{"glUniform2iv", "glUniform2ivARB", &weglUniform2iv},
{"glUniform3iv", "glUniform3ivARB", &weglUniform3iv},
{"glUniform4iv", "glUniform4ivARB", &weglUniform4iv},
{"glUniformMatrix2fv", "glUniformMatrix2fvARB", &weglUniformMatrix2fv},
{"glUniformMatrix3fv", "glUniformMatrix3fvARB", &weglUniformMatrix3fv},
{"glUniformMatrix4fv", "glUniformMatrix4fvARB", &weglUniformMatrix4fv},
{"glValidateProgram", NULL, &weglValidateProgram},
{"glVertexAttrib1dv", "glVertexAttrib1dvARB", &weglVertexAttrib1dv},
{"glVertexAttrib1fv", "glVertexAttrib1fvARB", &weglVertexAttrib1fv},
{"glVertexAttrib1sv", "glVertexAttrib1svARB", &weglVertexAttrib1sv},
{"glVertexAttrib2dv", "glVertexAttrib2dvARB", &weglVertexAttrib2dv},
{"glVertexAttrib2fv", "glVertexAttrib2fvARB", &weglVertexAttrib2fv},
{"glVertexAttrib2sv", "glVertexAttrib2svARB", &weglVertexAttrib2sv},
{"glVertexAttrib3dv", "glVertexAttrib3dvARB", &weglVertexAttrib3dv},
{"glVertexAttrib3fv", "glVertexAttrib3fvARB", &weglVertexAttrib3fv},
{"glVertexAttrib3sv", "glVertexAttrib3svARB", &weglVertexAttrib3sv},
{"glVertexAttrib4Nbv", "glVertexAttrib4NbvARB", &weglVertexAttrib4Nbv},
{"glVertexAttrib4Niv", "glVertexAttrib4NivARB", &weglVertexAttrib4Niv},
{"glVertexAttrib4Nsv", "glVertexAttrib4NsvARB", &weglVertexAttrib4Nsv},
{"glVertexAttrib4Nubv", "glVertexAttrib4NubvARB", &weglVertexAttrib4Nubv},
{"glVertexAttrib4Nuiv", "glVertexAttrib4NuivARB", &weglVertexAttrib4Nuiv},
{"glVertexAttrib4Nusv", "glVertexAttrib4NusvARB", &weglVertexAttrib4Nusv},
{"glVertexAttrib4bv", "glVertexAttrib4bvARB", &weglVertexAttrib4bv},
{"glVertexAttrib4dv", "glVertexAttrib4dvARB", &weglVertexAttrib4dv},
{"glVertexAttrib4fv", "glVertexAttrib4fvARB", &weglVertexAttrib4fv},
{"glVertexAttrib4iv", "glVertexAttrib4ivARB", &weglVertexAttrib4iv},
{"glVertexAttrib4sv", "glVertexAttrib4svARB", &weglVertexAttrib4sv},
{"glVertexAttrib4ubv", "glVertexAttrib4ubvARB", &weglVertexAttrib4ubv},
{"glVertexAttrib4uiv", "glVertexAttrib4uivARB", &weglVertexAttrib4uiv},
{"glVertexAttrib4usv", "glVertexAttrib4usvARB", &weglVertexAttrib4usv},
{"glVertexAttribPointer", "glVertexAttribPointerARB", &weglVertexAttribPointer},
{"glUniformMatrix2x3fv", NULL, &weglUniformMatrix2x3fv},
{"glUniformMatrix3x2fv", NULL, &weglUniformMatrix3x2fv},
{"glUniformMatrix2x4fv", NULL, &weglUniformMatrix2x4fv},
{"glUniformMatrix4x2fv", NULL, &weglUniformMatrix4x2fv},
{"glUniformMatrix3x4fv", NULL, &weglUniformMatrix3x4fv},
{"glUniformMatrix4x3fv", NULL, &weglUniformMatrix4x3fv},
{"glColorMaski", NULL, &weglColorMaski},
{"glGetBooleani_v", NULL, &weglGetBooleani_v},
{"glGetIntegeri_v", NULL, &weglGetIntegeri_v},
{"glEnablei", NULL, &weglEnablei},
{"glDisablei", NULL, &weglDisablei},
{"glIsEnabledi", NULL, &weglIsEnabledi},
{"glBeginTransformFeedback", NULL, &weglBeginTransformFeedback},
{"glEndTransformFeedback", NULL, &weglEndTransformFeedback},
{"glBindBufferRange", NULL, &weglBindBufferRange},
{"glBindBufferBase", NULL, &weglBindBufferBase},
{"glTransformFeedbackVaryings", NULL, &weglTransformFeedbackVaryings},
{"glGetTransformFeedbackVarying", NULL, &weglGetTransformFeedbackVarying},
{"glClampColor", "glClampColorARB", &weglClampColor},
{"glBeginConditionalRender", NULL, &weglBeginConditionalRender},
{"glEndConditionalRender", NULL, &weglEndConditionalRender},
{"glVertexAttribIPointer", NULL, &weglVertexAttribIPointer},
{"glGetVertexAttribIiv", NULL, &weglGetVertexAttribIiv},
{"glGetVertexAttribIuiv", NULL, &weglGetVertexAttribIuiv},
{"glGetUniformuiv", NULL, &weglGetUniformuiv},
{"glBindFragDataLocation", NULL, &weglBindFragDataLocation},
{"glGetFragDataLocation", NULL, &weglGetFragDataLocation},
{"glUniform1ui", NULL, &weglUniform1ui},
{"glUniform2ui", NULL, &weglUniform2ui},
{"glUniform3ui", NULL, &weglUniform3ui},
{"glUniform4ui", NULL, &weglUniform4ui},
{"glUniform1uiv", NULL, &weglUniform1uiv},
{"glUniform2uiv", NULL, &weglUniform2uiv},
{"glUniform3uiv", NULL, &weglUniform3uiv},
{"glUniform4uiv", NULL, &weglUniform4uiv},
{"glTexParameterIiv", NULL, &weglTexParameterIiv},
{"glTexParameterIuiv", NULL, &weglTexParameterIuiv},
{"glGetTexParameterIiv", NULL, &weglGetTexParameterIiv},
{"glGetTexParameterIuiv", NULL, &weglGetTexParameterIuiv},
{"glClearBufferiv", NULL, &weglClearBufferiv},
{"glClearBufferuiv", NULL, &weglClearBufferuiv},
{"glClearBufferfv", NULL, &weglClearBufferfv},
{"glClearBufferfi", NULL, &weglClearBufferfi},
{"glGetStringi", NULL, &weglGetStringi},
{"glVertexAttribI1iv", NULL, &weglVertexAttribI1iv},
{"glVertexAttribI2iv", NULL, &weglVertexAttribI2iv},
{"glVertexAttribI3iv", NULL, &weglVertexAttribI3iv},
{"glVertexAttribI4iv", NULL, &weglVertexAttribI4iv},
{"glVertexAttribI1uiv", NULL, &weglVertexAttribI1uiv},
{"glVertexAttribI2uiv", NULL, &weglVertexAttribI2uiv},
{"glVertexAttribI3uiv", NULL, &weglVertexAttribI3uiv},
{"glVertexAttribI4uiv", NULL, &weglVertexAttribI4uiv},
{"glVertexAttribI4bv", NULL, &weglVertexAttribI4bv},
{"glVertexAttribI4sv", NULL, &weglVertexAttribI4sv},
{"glVertexAttribI4ubv", NULL, &weglVertexAttribI4ubv},
{"glVertexAttribI4usv", NULL, &weglVertexAttribI4usv},
{"glDrawArraysInstanced", "glDrawArraysInstancedARB", &weglDrawArraysInstanced},
{"glDrawElementsInstanced", "glDrawElementsInstancedARB", &weglDrawElementsInstanced},
{"glTexBuffer", "glTexBufferARB", &weglTexBuffer},
{"glPrimitiveRestartIndex", NULL, &weglPrimitiveRestartIndex},
{"glLoadTransposeMatrixfARB", NULL, &weglLoadTransposeMatrixfARB},
{"glLoadTransposeMatrixdARB", NULL, &weglLoadTransposeMatrixdARB},
{"glMultTransposeMatrixfARB", NULL, &weglMultTransposeMatrixfARB},
{"glMultTransposeMatrixdARB", NULL, &weglMultTransposeMatrixdARB},
{"glWeightbvARB", NULL, &weglWeightbvARB},
{"glWeightsvARB", NULL, &weglWeightsvARB},
{"glWeightivARB", NULL, &weglWeightivARB},
{"glWeightfvARB", NULL, &weglWeightfvARB},
{"glWeightdvARB", NULL, &weglWeightdvARB},
{"glWeightubvARB", NULL, &weglWeightubvARB},
{"glWeightusvARB", NULL, &weglWeightusvARB},
{"glWeightuivARB", NULL, &weglWeightuivARB},
{"glVertexBlendARB", NULL, &weglVertexBlendARB},
{"glCurrentPaletteMatrixARB", NULL, &weglCurrentPaletteMatrixARB},
{"glMatrixIndexubvARB", NULL, &weglMatrixIndexubvARB},
{"glMatrixIndexusvARB", NULL, &weglMatrixIndexusvARB},
{"glMatrixIndexuivARB", NULL, &weglMatrixIndexuivARB},
{"glProgramStringARB", NULL, &weglProgramStringARB},
{"glBindProgramARB", NULL, &weglBindProgramARB},
{"glDeleteProgramsARB", NULL, &weglDeleteProgramsARB},
{"glGenProgramsARB", NULL, &weglGenProgramsARB},
{"glProgramEnvParameter4dARB", NULL, &weglProgramEnvParameter4dARB},
{"glProgramEnvParameter4dvARB", NULL, &weglProgramEnvParameter4dvARB},
{"glProgramEnvParameter4fARB", NULL, &weglProgramEnvParameter4fARB},
{"glProgramEnvParameter4fvARB", NULL, &weglProgramEnvParameter4fvARB},
{"glProgramLocalParameter4dARB", NULL, &weglProgramLocalParameter4dARB},
{"glProgramLocalParameter4dvARB", NULL, &weglProgramLocalParameter4dvARB},
{"glProgramLocalParameter4fARB", NULL, &weglProgramLocalParameter4fARB},
{"glProgramLocalParameter4fvARB", NULL, &weglProgramLocalParameter4fvARB},
{"glGetProgramEnvParameterdvARB", NULL, &weglGetProgramEnvParameterdvARB},
{"glGetProgramEnvParameterfvARB", NULL, &weglGetProgramEnvParameterfvARB},
{"glGetProgramLocalParameterdvARB", NULL, &weglGetProgramLocalParameterdvARB},
{"glGetProgramLocalParameterfvARB", NULL, &weglGetProgramLocalParameterfvARB},
{"glGetProgramStringARB", NULL, &weglGetProgramStringARB},
{"glDeleteObjectARB", NULL, &weglDeleteObjectARB},
{"glGetHandleARB", NULL, &weglGetHandleARB},
{"glDetachObjectARB", NULL, &weglDetachObjectARB},
{"glCreateShaderObjectARB", NULL, &weglCreateShaderObjectARB},
{"glShaderSourceARB", NULL, &weglShaderSourceARB},
{"glCompileShaderARB", NULL, &weglCompileShaderARB},
{"glCreateProgramObjectARB", NULL, &weglCreateProgramObjectARB},
{"glAttachObjectARB", NULL, &weglAttachObjectARB},
{"glLinkProgramARB", NULL, &weglLinkProgramARB},
{"glUseProgramObjectARB", NULL, &weglUseProgramObjectARB},
{"glValidateProgramARB", NULL, &weglValidateProgramARB},
{"glGetObjectParameterfvARB", NULL, &weglGetObjectParameterfvARB},
{"glGetObjectParameterivARB", NULL, &weglGetObjectParameterivARB},
{"glGetInfoLogARB", NULL, &weglGetInfoLogARB},
{"glGetAttachedObjectsARB", NULL, &weglGetAttachedObjectsARB},
{"glGetUniformLocationARB", NULL, &weglGetUniformLocationARB},
{"glGetActiveUniformARB", NULL, &weglGetActiveUniformARB},
{"glGetUniformfvARB", NULL, &weglGetUniformfvARB},
{"glGetUniformivARB", NULL, &weglGetUniformivARB},
{"glGetShaderSourceARB", NULL, &weglGetShaderSourceARB},
{"glBindAttribLocationARB", NULL, &weglBindAttribLocationARB},
{"glGetActiveAttribARB", NULL, &weglGetActiveAttribARB},
{"glGetAttribLocationARB", NULL, &weglGetAttribLocationARB},
{"glIsRenderbuffer", "glIsRenderbufferEXT", &weglIsRenderbuffer},
{"glBindRenderbuffer", "glBindRenderbufferEXT", &weglBindRenderbuffer},
{"glDeleteRenderbuffers", "glDeleteRenderbuffersEXT", &weglDeleteRenderbuffers},
{"glGenRenderbuffers", "glGenRenderbuffersEXT", &weglGenRenderbuffers},
{"glRenderbufferStorage", "glRenderbufferStorageEXT", &weglRenderbufferStorage},
{"glGetRenderbufferParameteriv", "glGetRenderbufferParameterivEXT", &weglGetRenderbufferParameteriv},
{"glIsFramebuffer", "glIsFramebufferEXT", &weglIsFramebuffer},
{"glBindFramebuffer", "glBindFramebufferEXT", &weglBindFramebuffer},
{"glDeleteFramebuffers", "glDeleteFramebuffersEXT", &weglDeleteFramebuffers},
{"glGenFramebuffers", "glGenFramebuffersEXT", &weglGenFramebuffers},
{"glCheckFramebufferStatus", "glCheckFramebufferStatusEXT", &weglCheckFramebufferStatus},
{"glFramebufferTexture1D", "glFramebufferTexture1DEXT", &weglFramebufferTexture1D},
{"glFramebufferTexture2D", "glFramebufferTexture2DEXT", &weglFramebufferTexture2D},
{"glFramebufferTexture3D", "glFramebufferTexture3DEXT", &weglFramebufferTexture3D},
{"glFramebufferRenderbuffer", "glFramebufferRenderbufferEXT", &weglFramebufferRenderbuffer},
{"glGetFramebufferAttachmentParameteriv", "glGetFramebufferAttachmentParameterivEXT", &weglGetFramebufferAttachmentParameteriv},
{"glGenerateMipmap", "glGenerateMipmapEXT", &weglGenerateMipmap},
{"glBlitFramebuffer", "glBlitFramebufferEXT", &weglBlitFramebuffer},
{"glRenderbufferStorageMultisample", "glRenderbufferStorageMultisampleEXT", &weglRenderbufferStorageMultisample},
{"glFramebufferTextureLayer", "glFramebufferTextureLayerARB", &weglFramebufferTextureLayer},
{"glProgramParameteriARB", NULL, &weglProgramParameteriARB},
{"glFramebufferTextureARB", NULL, &weglFramebufferTextureARB},
{"glFramebufferTextureFaceARB", NULL, &weglFramebufferTextureFaceARB},
{"glVertexAttribDivisorARB", NULL, &weglVertexAttribDivisorARB},
{"glFlushMappedBufferRange", NULL, &weglFlushMappedBufferRange},
{"glBindVertexArray", NULL, &weglBindVertexArray},
{"glDeleteVertexArrays", NULL, &weglDeleteVertexArrays},
{"glGenVertexArrays", NULL, &weglGenVertexArrays},
{"glIsVertexArray", NULL, &weglIsVertexArray},
{"glGetUniformIndices", NULL, &weglGetUniformIndices},
{"glGetActiveUniformsiv", NULL, &weglGetActiveUniformsiv},
{"glGetActiveUniformName", NULL, &weglGetActiveUniformName},
{"glGetUniformBlockIndex", NULL, &weglGetUniformBlockIndex},
{"glGetActiveUniformBlockiv", NULL, &weglGetActiveUniformBlockiv},
{"glGetActiveUniformBlockName", NULL, &weglGetActiveUniformBlockName},
{"glUniformBlockBinding", NULL, &weglUniformBlockBinding},
{"glCopyBufferSubData", NULL, &weglCopyBufferSubData},
{"glResizeBuffersMESA", NULL, &weglResizeBuffersMESA},
{"glWindowPos4dvMESA", NULL, &weglWindowPos4dvMESA},
{"glWindowPos4fvMESA", NULL, &weglWindowPos4fvMESA},
{"glWindowPos4ivMESA", NULL, &weglWindowPos4ivMESA},
{"glWindowPos4svMESA", NULL, &weglWindowPos4svMESA},
{"glDepthBoundsEXT", NULL, &weglDepthBoundsEXT},
{"glStencilClearTagEXT", NULL, &weglStencilClearTagEXT},
{ NULL, NULL, NULL}};