/* DO NOT EDIT - This file generated automatically by gl_SPARC_asm.py (from Mesa) script */

/*
 * Copyright (C) 1999-2003  Brian Paul   All Rights Reserved.
 * (C) Copyright IBM Corporation 2004
 * All Rights Reserved.
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sub license,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice (including the next
 * paragraph) shall be included in all copies or substantial portions of the
 * Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
 * BRIAN PAUL, IBM,
 * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

#include "glapi/glapioffsets.h"

#ifdef __arch64__
#define GL_OFF(N)	((N) * 8)
#define GL_LL		ldx
#define GL_TIE_LD(SYM)	%tie_ldx(SYM)
#define GL_STACK_SIZE	128
#else
#define GL_OFF(N)	((N) * 4)
#define GL_LL		ld
#define GL_TIE_LD(SYM)	%tie_ld(SYM)
#define GL_STACK_SIZE	64
#endif

#define GLOBL_FN(x) .globl x ; .type x, @function
#define HIDDEN(x) .hidden x

	.register %g2, #scratch
	.register %g3, #scratch

	.text

	GLOBL_FN(__glapi_sparc_icache_flush)
	HIDDEN(__glapi_sparc_icache_flush)
	.type	__glapi_sparc_icache_flush, @function
__glapi_sparc_icache_flush: /* %o0 = insn_addr */
	flush	%o0
	retl
	 nop

	.align	32

	.type	__glapi_sparc_get_pc, @function
__glapi_sparc_get_pc:
	retl
	 add	%o7, %g2, %g2
	.size	__glapi_sparc_get_pc, .-__glapi_sparc_get_pc

#ifdef GLX_USE_TLS

	GLOBL_FN(__glapi_sparc_get_dispatch)
	HIDDEN(__glapi_sparc_get_dispatch)
__glapi_sparc_get_dispatch:
	mov	%o7, %g1
	sethi	%hi(_GLOBAL_OFFSET_TABLE_-4), %g2
	call	__glapi_sparc_get_pc
	add	%g2, %lo(_GLOBAL_OFFSET_TABLE_+4), %g2
	mov	%g1, %o7
	sethi	%tie_hi22(_glapi_tls_Dispatch), %g1
	add	%g1, %tie_lo10(_glapi_tls_Dispatch), %g1
	GL_LL	[%g2 + %g1], %g2, GL_TIE_LD(_glapi_tls_Dispatch)
	retl
	 mov	%g2, %o0

	.data
	.align	32

	/* --> sethi %hi(_glapi_tls_Dispatch), %g1 */
	/* --> or %g1, %lo(_glapi_tls_Dispatch), %g1 */
	GLOBL_FN(__glapi_sparc_tls_stub)
	HIDDEN(__glapi_sparc_tls_stub)
__glapi_sparc_tls_stub: /* Call offset in %g3 */
	mov	%o7, %g1
	sethi	%hi(_GLOBAL_OFFSET_TABLE_-4), %g2
	call	__glapi_sparc_get_pc
	add	%g2, %lo(_GLOBAL_OFFSET_TABLE_+4), %g2
	mov	%g1, %o7
	srl	%g3, 10, %g3
	sethi	%tie_hi22(_glapi_tls_Dispatch), %g1
	add	%g1, %tie_lo10(_glapi_tls_Dispatch), %g1
	GL_LL	[%g2 + %g1], %g2, GL_TIE_LD(_glapi_tls_Dispatch)
	GL_LL	[%g7+%g2], %g1
	GL_LL	[%g1 + %g3], %g1
	jmp	%g1
	 nop
	.size	__glapi_sparc_tls_stub, .-__glapi_sparc_tls_stub

#define GL_STUB(fn, off)				\
	GLOBL_FN(fn);					\
fn:	ba	__glapi_sparc_tls_stub;			\
	 sethi	GL_OFF(off), %g3;			\
	.size	fn,.-fn;

#elif defined(PTHREADS)

	/* 64-bit 0x00 --> sethi %hh(_glapi_Dispatch), %g1 */
	/* 64-bit 0x04 --> sethi %lm(_glapi_Dispatch), %g2 */
	/* 64-bit 0x08 --> or %g1, %hm(_glapi_Dispatch), %g1 */
	/* 64-bit 0x0c --> sllx %g1, 32, %g1 */
	/* 64-bit 0x10 --> add %g1, %g2, %g1 */
	/* 64-bit 0x14 --> ldx [%g1 + %lo(_glapi_Dispatch)], %g1 */

	/* 32-bit 0x00 --> sethi %hi(_glapi_Dispatch), %g1 */
	/* 32-bit 0x04 --> ld [%g1 + %lo(_glapi_Dispatch)], %g1 */

	.data
	.align	32

	GLOBL_FN(__glapi_sparc_pthread_stub)
	HIDDEN(__glapi_sparc_pthread_stub)
__glapi_sparc_pthread_stub: /* Call offset in %g3 */
	mov	%o7, %g1
	sethi	%hi(_GLOBAL_OFFSET_TABLE_-4), %g2
	call	__glapi_sparc_get_pc
	 add	%g2, %lo(_GLOBAL_OFFSET_TABLE_+4), %g2
	mov	%g1, %o7
	sethi	%hi(_glapi_Dispatch), %g1
	or	%g1, %lo(_glapi_Dispatch), %g1
	srl	%g3, 10, %g3
	GL_LL	[%g2+%g1], %g2
	GL_LL	[%g2], %g1
	cmp	%g1, 0
	be	2f
	 nop
1:	GL_LL	[%g1 + %g3], %g1
	jmp	%g1
	 nop
2:	save	%sp, GL_STACK_SIZE, %sp
	mov	%g3, %l0
	call	_glapi_get_dispatch
	 nop
	mov	%o0, %g1
	mov	%l0, %g3
	ba	1b
	 restore %g0, %g0, %g0
	.size	__glapi_sparc_pthread_stub, .-__glapi_sparc_pthread_stub

#define GL_STUB(fn, off)			\
	GLOBL_FN(fn);				\
fn:	ba	__glapi_sparc_pthread_stub;	\
	 sethi	GL_OFF(off), %g3;		\
	.size	fn,.-fn;

#else /* Non-threaded version. */

	.type	__glapi_sparc_nothread_stub, @function
__glapi_sparc_nothread_stub: /* Call offset in %g3 */
	mov	%o7, %g1
	sethi	%hi(_GLOBAL_OFFSET_TABLE_-4), %g2
	call	__glapi_sparc_get_pc
	 add	%g2, %lo(_GLOBAL_OFFSET_TABLE_+4), %g2
	mov	%g1, %o7
	srl	%g3, 10, %g3
	sethi	%hi(_glapi_Dispatch), %g1
	or	%g1, %lo(_glapi_Dispatch), %g1
	GL_LL	[%g2+%g1], %g2
	GL_LL	[%g2], %g1
	GL_LL	[%g1 + %g3], %g1
	jmp	%g1
	 nop
	.size	__glapi_sparc_nothread_stub, .-__glapi_sparc_nothread_stub

#define GL_STUB(fn, off)			\
	GLOBL_FN(fn);				\
fn:	ba	__glapi_sparc_nothread_stub;	\
	 sethi	GL_OFF(off), %g3;		\
	.size	fn,.-fn;

#endif

#define GL_STUB_ALIAS(fn, alias)		\
	.globl	fn;				\
	.set	fn, alias

	.text
	.align	32

	.globl	gl_dispatch_functions_start
	HIDDEN(gl_dispatch_functions_start)
gl_dispatch_functions_start:

	GL_STUB(glNewList, _gloffset_NewList)
	GL_STUB(glEndList, _gloffset_EndList)
	GL_STUB(glCallList, _gloffset_CallList)
	GL_STUB(glCallLists, _gloffset_CallLists)
	GL_STUB(glDeleteLists, _gloffset_DeleteLists)
	GL_STUB(glGenLists, _gloffset_GenLists)
	GL_STUB(glListBase, _gloffset_ListBase)
	GL_STUB(glBegin, _gloffset_Begin)
	GL_STUB(glBitmap, _gloffset_Bitmap)
	GL_STUB(glColor3b, _gloffset_Color3b)
	GL_STUB(glColor3bv, _gloffset_Color3bv)
	GL_STUB(glColor3d, _gloffset_Color3d)
	GL_STUB(glColor3dv, _gloffset_Color3dv)
	GL_STUB(glColor3f, _gloffset_Color3f)
	GL_STUB(glColor3fv, _gloffset_Color3fv)
	GL_STUB(glColor3i, _gloffset_Color3i)
	GL_STUB(glColor3iv, _gloffset_Color3iv)
	GL_STUB(glColor3s, _gloffset_Color3s)
	GL_STUB(glColor3sv, _gloffset_Color3sv)
	GL_STUB(glColor3ub, _gloffset_Color3ub)
	GL_STUB(glColor3ubv, _gloffset_Color3ubv)
	GL_STUB(glColor3ui, _gloffset_Color3ui)
	GL_STUB(glColor3uiv, _gloffset_Color3uiv)
	GL_STUB(glColor3us, _gloffset_Color3us)
	GL_STUB(glColor3usv, _gloffset_Color3usv)
	GL_STUB(glColor4b, _gloffset_Color4b)
	GL_STUB(glColor4bv, _gloffset_Color4bv)
	GL_STUB(glColor4d, _gloffset_Color4d)
	GL_STUB(glColor4dv, _gloffset_Color4dv)
	GL_STUB(glColor4f, _gloffset_Color4f)
	GL_STUB(glColor4fv, _gloffset_Color4fv)
	GL_STUB(glColor4i, _gloffset_Color4i)
	GL_STUB(glColor4iv, _gloffset_Color4iv)
	GL_STUB(glColor4s, _gloffset_Color4s)
	GL_STUB(glColor4sv, _gloffset_Color4sv)
	GL_STUB(glColor4ub, _gloffset_Color4ub)
	GL_STUB(glColor4ubv, _gloffset_Color4ubv)
	GL_STUB(glColor4ui, _gloffset_Color4ui)
	GL_STUB(glColor4uiv, _gloffset_Color4uiv)
	GL_STUB(glColor4us, _gloffset_Color4us)
	GL_STUB(glColor4usv, _gloffset_Color4usv)
	GL_STUB(glEdgeFlag, _gloffset_EdgeFlag)
	GL_STUB(glEdgeFlagv, _gloffset_EdgeFlagv)
	GL_STUB(glEnd, _gloffset_End)
	GL_STUB(glIndexd, _gloffset_Indexd)
	GL_STUB(glIndexdv, _gloffset_Indexdv)
	GL_STUB(glIndexf, _gloffset_Indexf)
	GL_STUB(glIndexfv, _gloffset_Indexfv)
	GL_STUB(glIndexi, _gloffset_Indexi)
	GL_STUB(glIndexiv, _gloffset_Indexiv)
	GL_STUB(glIndexs, _gloffset_Indexs)
	GL_STUB(glIndexsv, _gloffset_Indexsv)
	GL_STUB(glNormal3b, _gloffset_Normal3b)
	GL_STUB(glNormal3bv, _gloffset_Normal3bv)
	GL_STUB(glNormal3d, _gloffset_Normal3d)
	GL_STUB(glNormal3dv, _gloffset_Normal3dv)
	GL_STUB(glNormal3f, _gloffset_Normal3f)
	GL_STUB(glNormal3fv, _gloffset_Normal3fv)
	GL_STUB(glNormal3i, _gloffset_Normal3i)
	GL_STUB(glNormal3iv, _gloffset_Normal3iv)
	GL_STUB(glNormal3s, _gloffset_Normal3s)
	GL_STUB(glNormal3sv, _gloffset_Normal3sv)
	GL_STUB(glRasterPos2d, _gloffset_RasterPos2d)
	GL_STUB(glRasterPos2dv, _gloffset_RasterPos2dv)
	GL_STUB(glRasterPos2f, _gloffset_RasterPos2f)
	GL_STUB(glRasterPos2fv, _gloffset_RasterPos2fv)
	GL_STUB(glRasterPos2i, _gloffset_RasterPos2i)
	GL_STUB(glRasterPos2iv, _gloffset_RasterPos2iv)
	GL_STUB(glRasterPos2s, _gloffset_RasterPos2s)
	GL_STUB(glRasterPos2sv, _gloffset_RasterPos2sv)
	GL_STUB(glRasterPos3d, _gloffset_RasterPos3d)
	GL_STUB(glRasterPos3dv, _gloffset_RasterPos3dv)
	GL_STUB(glRasterPos3f, _gloffset_RasterPos3f)
	GL_STUB(glRasterPos3fv, _gloffset_RasterPos3fv)
	GL_STUB(glRasterPos3i, _gloffset_RasterPos3i)
	GL_STUB(glRasterPos3iv, _gloffset_RasterPos3iv)
	GL_STUB(glRasterPos3s, _gloffset_RasterPos3s)
	GL_STUB(glRasterPos3sv, _gloffset_RasterPos3sv)
	GL_STUB(glRasterPos4d, _gloffset_RasterPos4d)
	GL_STUB(glRasterPos4dv, _gloffset_RasterPos4dv)
	GL_STUB(glRasterPos4f, _gloffset_RasterPos4f)
	GL_STUB(glRasterPos4fv, _gloffset_RasterPos4fv)
	GL_STUB(glRasterPos4i, _gloffset_RasterPos4i)
	GL_STUB(glRasterPos4iv, _gloffset_RasterPos4iv)
	GL_STUB(glRasterPos4s, _gloffset_RasterPos4s)
	GL_STUB(glRasterPos4sv, _gloffset_RasterPos4sv)
	GL_STUB(glRectd, _gloffset_Rectd)
	GL_STUB(glRectdv, _gloffset_Rectdv)
	GL_STUB(glRectf, _gloffset_Rectf)
	GL_STUB(glRectfv, _gloffset_Rectfv)
	GL_STUB(glRecti, _gloffset_Recti)
	GL_STUB(glRectiv, _gloffset_Rectiv)
	GL_STUB(glRects, _gloffset_Rects)
	GL_STUB(glRectsv, _gloffset_Rectsv)
	GL_STUB(glTexCoord1d, _gloffset_TexCoord1d)
	GL_STUB(glTexCoord1dv, _gloffset_TexCoord1dv)
	GL_STUB(glTexCoord1f, _gloffset_TexCoord1f)
	GL_STUB(glTexCoord1fv, _gloffset_TexCoord1fv)
	GL_STUB(glTexCoord1i, _gloffset_TexCoord1i)
	GL_STUB(glTexCoord1iv, _gloffset_TexCoord1iv)
	GL_STUB(glTexCoord1s, _gloffset_TexCoord1s)
	GL_STUB(glTexCoord1sv, _gloffset_TexCoord1sv)
	GL_STUB(glTexCoord2d, _gloffset_TexCoord2d)
	GL_STUB(glTexCoord2dv, _gloffset_TexCoord2dv)
	GL_STUB(glTexCoord2f, _gloffset_TexCoord2f)
	GL_STUB(glTexCoord2fv, _gloffset_TexCoord2fv)
	GL_STUB(glTexCoord2i, _gloffset_TexCoord2i)
	GL_STUB(glTexCoord2iv, _gloffset_TexCoord2iv)
	GL_STUB(glTexCoord2s, _gloffset_TexCoord2s)
	GL_STUB(glTexCoord2sv, _gloffset_TexCoord2sv)
	GL_STUB(glTexCoord3d, _gloffset_TexCoord3d)
	GL_STUB(glTexCoord3dv, _gloffset_TexCoord3dv)
	GL_STUB(glTexCoord3f, _gloffset_TexCoord3f)
	GL_STUB(glTexCoord3fv, _gloffset_TexCoord3fv)
	GL_STUB(glTexCoord3i, _gloffset_TexCoord3i)
	GL_STUB(glTexCoord3iv, _gloffset_TexCoord3iv)
	GL_STUB(glTexCoord3s, _gloffset_TexCoord3s)
	GL_STUB(glTexCoord3sv, _gloffset_TexCoord3sv)
	GL_STUB(glTexCoord4d, _gloffset_TexCoord4d)
	GL_STUB(glTexCoord4dv, _gloffset_TexCoord4dv)
	GL_STUB(glTexCoord4f, _gloffset_TexCoord4f)
	GL_STUB(glTexCoord4fv, _gloffset_TexCoord4fv)
	GL_STUB(glTexCoord4i, _gloffset_TexCoord4i)
	GL_STUB(glTexCoord4iv, _gloffset_TexCoord4iv)
	GL_STUB(glTexCoord4s, _gloffset_TexCoord4s)
	GL_STUB(glTexCoord4sv, _gloffset_TexCoord4sv)
	GL_STUB(glVertex2d, _gloffset_Vertex2d)
	GL_STUB(glVertex2dv, _gloffset_Vertex2dv)
	GL_STUB(glVertex2f, _gloffset_Vertex2f)
	GL_STUB(glVertex2fv, _gloffset_Vertex2fv)
	GL_STUB(glVertex2i, _gloffset_Vertex2i)
	GL_STUB(glVertex2iv, _gloffset_Vertex2iv)
	GL_STUB(glVertex2s, _gloffset_Vertex2s)
	GL_STUB(glVertex2sv, _gloffset_Vertex2sv)
	GL_STUB(glVertex3d, _gloffset_Vertex3d)
	GL_STUB(glVertex3dv, _gloffset_Vertex3dv)
	GL_STUB(glVertex3f, _gloffset_Vertex3f)
	GL_STUB(glVertex3fv, _gloffset_Vertex3fv)
	GL_STUB(glVertex3i, _gloffset_Vertex3i)
	GL_STUB(glVertex3iv, _gloffset_Vertex3iv)
	GL_STUB(glVertex3s, _gloffset_Vertex3s)
	GL_STUB(glVertex3sv, _gloffset_Vertex3sv)
	GL_STUB(glVertex4d, _gloffset_Vertex4d)
	GL_STUB(glVertex4dv, _gloffset_Vertex4dv)
	GL_STUB(glVertex4f, _gloffset_Vertex4f)
	GL_STUB(glVertex4fv, _gloffset_Vertex4fv)
	GL_STUB(glVertex4i, _gloffset_Vertex4i)
	GL_STUB(glVertex4iv, _gloffset_Vertex4iv)
	GL_STUB(glVertex4s, _gloffset_Vertex4s)
	GL_STUB(glVertex4sv, _gloffset_Vertex4sv)
	GL_STUB(glClipPlane, _gloffset_ClipPlane)
	GL_STUB(glColorMaterial, _gloffset_ColorMaterial)
	GL_STUB(glCullFace, _gloffset_CullFace)
	GL_STUB(glFogf, _gloffset_Fogf)
	GL_STUB(glFogfv, _gloffset_Fogfv)
	GL_STUB(glFogi, _gloffset_Fogi)
	GL_STUB(glFogiv, _gloffset_Fogiv)
	GL_STUB(glFrontFace, _gloffset_FrontFace)
	GL_STUB(glHint, _gloffset_Hint)
	GL_STUB(glLightf, _gloffset_Lightf)
	GL_STUB(glLightfv, _gloffset_Lightfv)
	GL_STUB(glLighti, _gloffset_Lighti)
	GL_STUB(glLightiv, _gloffset_Lightiv)
	GL_STUB(glLightModelf, _gloffset_LightModelf)
	GL_STUB(glLightModelfv, _gloffset_LightModelfv)
	GL_STUB(glLightModeli, _gloffset_LightModeli)
	GL_STUB(glLightModeliv, _gloffset_LightModeliv)
	GL_STUB(glLineStipple, _gloffset_LineStipple)
	GL_STUB(glLineWidth, _gloffset_LineWidth)
	GL_STUB(glMaterialf, _gloffset_Materialf)
	GL_STUB(glMaterialfv, _gloffset_Materialfv)
	GL_STUB(glMateriali, _gloffset_Materiali)
	GL_STUB(glMaterialiv, _gloffset_Materialiv)
	GL_STUB(glPointSize, _gloffset_PointSize)
	GL_STUB(glPolygonMode, _gloffset_PolygonMode)
	GL_STUB(glPolygonStipple, _gloffset_PolygonStipple)
	GL_STUB(glScissor, _gloffset_Scissor)
	GL_STUB(glShadeModel, _gloffset_ShadeModel)
	GL_STUB(glTexParameterf, _gloffset_TexParameterf)
	GL_STUB(glTexParameterfv, _gloffset_TexParameterfv)
	GL_STUB(glTexParameteri, _gloffset_TexParameteri)
	GL_STUB(glTexParameteriv, _gloffset_TexParameteriv)
	GL_STUB(glTexImage1D, _gloffset_TexImage1D)
	GL_STUB(glTexImage2D, _gloffset_TexImage2D)
	GL_STUB(glTexEnvf, _gloffset_TexEnvf)
	GL_STUB(glTexEnvfv, _gloffset_TexEnvfv)
	GL_STUB(glTexEnvi, _gloffset_TexEnvi)
	GL_STUB(glTexEnviv, _gloffset_TexEnviv)
	GL_STUB(glTexGend, _gloffset_TexGend)
	GL_STUB(glTexGendv, _gloffset_TexGendv)
	GL_STUB(glTexGenf, _gloffset_TexGenf)
	GL_STUB(glTexGenfv, _gloffset_TexGenfv)
	GL_STUB(glTexGeni, _gloffset_TexGeni)
	GL_STUB(glTexGeniv, _gloffset_TexGeniv)
	GL_STUB(glFeedbackBuffer, _gloffset_FeedbackBuffer)
	GL_STUB(glSelectBuffer, _gloffset_SelectBuffer)
	GL_STUB(glRenderMode, _gloffset_RenderMode)
	GL_STUB(glInitNames, _gloffset_InitNames)
	GL_STUB(glLoadName, _gloffset_LoadName)
	GL_STUB(glPassThrough, _gloffset_PassThrough)
	GL_STUB(glPopName, _gloffset_PopName)
	GL_STUB(glPushName, _gloffset_PushName)
	GL_STUB(glDrawBuffer, _gloffset_DrawBuffer)
	GL_STUB(glClear, _gloffset_Clear)
	GL_STUB(glClearAccum, _gloffset_ClearAccum)
	GL_STUB(glClearIndex, _gloffset_ClearIndex)
	GL_STUB(glClearColor, _gloffset_ClearColor)
	GL_STUB(glClearStencil, _gloffset_ClearStencil)
	GL_STUB(glClearDepth, _gloffset_ClearDepth)
	GL_STUB(glStencilMask, _gloffset_StencilMask)
	GL_STUB(glColorMask, _gloffset_ColorMask)
	GL_STUB(glDepthMask, _gloffset_DepthMask)
	GL_STUB(glIndexMask, _gloffset_IndexMask)
	GL_STUB(glAccum, _gloffset_Accum)
	GL_STUB(glDisable, _gloffset_Disable)
	GL_STUB(glEnable, _gloffset_Enable)
	GL_STUB(glFinish, _gloffset_Finish)
	GL_STUB(glFlush, _gloffset_Flush)
	GL_STUB(glPopAttrib, _gloffset_PopAttrib)
	GL_STUB(glPushAttrib, _gloffset_PushAttrib)
	GL_STUB(glMap1d, _gloffset_Map1d)
	GL_STUB(glMap1f, _gloffset_Map1f)
	GL_STUB(glMap2d, _gloffset_Map2d)
	GL_STUB(glMap2f, _gloffset_Map2f)
	GL_STUB(glMapGrid1d, _gloffset_MapGrid1d)
	GL_STUB(glMapGrid1f, _gloffset_MapGrid1f)
	GL_STUB(glMapGrid2d, _gloffset_MapGrid2d)
	GL_STUB(glMapGrid2f, _gloffset_MapGrid2f)
	GL_STUB(glEvalCoord1d, _gloffset_EvalCoord1d)
	GL_STUB(glEvalCoord1dv, _gloffset_EvalCoord1dv)
	GL_STUB(glEvalCoord1f, _gloffset_EvalCoord1f)
	GL_STUB(glEvalCoord1fv, _gloffset_EvalCoord1fv)
	GL_STUB(glEvalCoord2d, _gloffset_EvalCoord2d)
	GL_STUB(glEvalCoord2dv, _gloffset_EvalCoord2dv)
	GL_STUB(glEvalCoord2f, _gloffset_EvalCoord2f)
	GL_STUB(glEvalCoord2fv, _gloffset_EvalCoord2fv)
	GL_STUB(glEvalMesh1, _gloffset_EvalMesh1)
	GL_STUB(glEvalPoint1, _gloffset_EvalPoint1)
	GL_STUB(glEvalMesh2, _gloffset_EvalMesh2)
	GL_STUB(glEvalPoint2, _gloffset_EvalPoint2)
	GL_STUB(glAlphaFunc, _gloffset_AlphaFunc)
	GL_STUB(glBlendFunc, _gloffset_BlendFunc)
	GL_STUB(glLogicOp, _gloffset_LogicOp)
	GL_STUB(glStencilFunc, _gloffset_StencilFunc)
	GL_STUB(glStencilOp, _gloffset_StencilOp)
	GL_STUB(glDepthFunc, _gloffset_DepthFunc)
	GL_STUB(glPixelZoom, _gloffset_PixelZoom)
	GL_STUB(glPixelTransferf, _gloffset_PixelTransferf)
	GL_STUB(glPixelTransferi, _gloffset_PixelTransferi)
	GL_STUB(glPixelStoref, _gloffset_PixelStoref)
	GL_STUB(glPixelStorei, _gloffset_PixelStorei)
	GL_STUB(glPixelMapfv, _gloffset_PixelMapfv)
	GL_STUB(glPixelMapuiv, _gloffset_PixelMapuiv)
	GL_STUB(glPixelMapusv, _gloffset_PixelMapusv)
	GL_STUB(glReadBuffer, _gloffset_ReadBuffer)
	GL_STUB(glCopyPixels, _gloffset_CopyPixels)
	GL_STUB(glReadPixels, _gloffset_ReadPixels)
	GL_STUB(glDrawPixels, _gloffset_DrawPixels)
	GL_STUB(glGetBooleanv, _gloffset_GetBooleanv)
	GL_STUB(glGetClipPlane, _gloffset_GetClipPlane)
	GL_STUB(glGetDoublev, _gloffset_GetDoublev)
	GL_STUB(glGetError, _gloffset_GetError)
	GL_STUB(glGetFloatv, _gloffset_GetFloatv)
	GL_STUB(glGetIntegerv, _gloffset_GetIntegerv)
	GL_STUB(glGetLightfv, _gloffset_GetLightfv)
	GL_STUB(glGetLightiv, _gloffset_GetLightiv)
	GL_STUB(glGetMapdv, _gloffset_GetMapdv)
	GL_STUB(glGetMapfv, _gloffset_GetMapfv)
	GL_STUB(glGetMapiv, _gloffset_GetMapiv)
	GL_STUB(glGetMaterialfv, _gloffset_GetMaterialfv)
	GL_STUB(glGetMaterialiv, _gloffset_GetMaterialiv)
	GL_STUB(glGetPixelMapfv, _gloffset_GetPixelMapfv)
	GL_STUB(glGetPixelMapuiv, _gloffset_GetPixelMapuiv)
	GL_STUB(glGetPixelMapusv, _gloffset_GetPixelMapusv)
	GL_STUB(glGetPolygonStipple, _gloffset_GetPolygonStipple)
	GL_STUB(glGetString, _gloffset_GetString)
	GL_STUB(glGetTexEnvfv, _gloffset_GetTexEnvfv)
	GL_STUB(glGetTexEnviv, _gloffset_GetTexEnviv)
	GL_STUB(glGetTexGendv, _gloffset_GetTexGendv)
	GL_STUB(glGetTexGenfv, _gloffset_GetTexGenfv)
	GL_STUB(glGetTexGeniv, _gloffset_GetTexGeniv)
	GL_STUB(glGetTexImage, _gloffset_GetTexImage)
	GL_STUB(glGetTexParameterfv, _gloffset_GetTexParameterfv)
	GL_STUB(glGetTexParameteriv, _gloffset_GetTexParameteriv)
	GL_STUB(glGetTexLevelParameterfv, _gloffset_GetTexLevelParameterfv)
	GL_STUB(glGetTexLevelParameteriv, _gloffset_GetTexLevelParameteriv)
	GL_STUB(glIsEnabled, _gloffset_IsEnabled)
	GL_STUB(glIsList, _gloffset_IsList)
	GL_STUB(glDepthRange, _gloffset_DepthRange)
	GL_STUB(glFrustum, _gloffset_Frustum)
	GL_STUB(glLoadIdentity, _gloffset_LoadIdentity)
	GL_STUB(glLoadMatrixf, _gloffset_LoadMatrixf)
	GL_STUB(glLoadMatrixd, _gloffset_LoadMatrixd)
	GL_STUB(glMatrixMode, _gloffset_MatrixMode)
	GL_STUB(glMultMatrixf, _gloffset_MultMatrixf)
	GL_STUB(glMultMatrixd, _gloffset_MultMatrixd)
	GL_STUB(glOrtho, _gloffset_Ortho)
	GL_STUB(glPopMatrix, _gloffset_PopMatrix)
	GL_STUB(glPushMatrix, _gloffset_PushMatrix)
	GL_STUB(glRotated, _gloffset_Rotated)
	GL_STUB(glRotatef, _gloffset_Rotatef)
	GL_STUB(glScaled, _gloffset_Scaled)
	GL_STUB(glScalef, _gloffset_Scalef)
	GL_STUB(glTranslated, _gloffset_Translated)
	GL_STUB(glTranslatef, _gloffset_Translatef)
	GL_STUB(glViewport, _gloffset_Viewport)
	GL_STUB(glArrayElement, _gloffset_ArrayElement)
	GL_STUB(glBindTexture, _gloffset_BindTexture)
	GL_STUB(glColorPointer, _gloffset_ColorPointer)
	GL_STUB(glDisableClientState, _gloffset_DisableClientState)
	GL_STUB(glDrawArrays, _gloffset_DrawArrays)
	GL_STUB(glDrawElements, _gloffset_DrawElements)
	GL_STUB(glEdgeFlagPointer, _gloffset_EdgeFlagPointer)
	GL_STUB(glEnableClientState, _gloffset_EnableClientState)
	GL_STUB(glIndexPointer, _gloffset_IndexPointer)
	GL_STUB(glIndexub, _gloffset_Indexub)
	GL_STUB(glIndexubv, _gloffset_Indexubv)
	GL_STUB(glInterleavedArrays, _gloffset_InterleavedArrays)
	GL_STUB(glNormalPointer, _gloffset_NormalPointer)
	GL_STUB(glPolygonOffset, _gloffset_PolygonOffset)
	GL_STUB(glTexCoordPointer, _gloffset_TexCoordPointer)
	GL_STUB(glVertexPointer, _gloffset_VertexPointer)
	GL_STUB(glAreTexturesResident, _gloffset_AreTexturesResident)
	GL_STUB(glCopyTexImage1D, _gloffset_CopyTexImage1D)
	GL_STUB(glCopyTexImage2D, _gloffset_CopyTexImage2D)
	GL_STUB(glCopyTexSubImage1D, _gloffset_CopyTexSubImage1D)
	GL_STUB(glCopyTexSubImage2D, _gloffset_CopyTexSubImage2D)
	GL_STUB(glDeleteTextures, _gloffset_DeleteTextures)
	GL_STUB(glGenTextures, _gloffset_GenTextures)
	GL_STUB(glGetPointerv, _gloffset_GetPointerv)
	GL_STUB(glIsTexture, _gloffset_IsTexture)
	GL_STUB(glPrioritizeTextures, _gloffset_PrioritizeTextures)
	GL_STUB(glTexSubImage1D, _gloffset_TexSubImage1D)
	GL_STUB(glTexSubImage2D, _gloffset_TexSubImage2D)
	GL_STUB(glPopClientAttrib, _gloffset_PopClientAttrib)
	GL_STUB(glPushClientAttrib, _gloffset_PushClientAttrib)
	GL_STUB(glBlendColor, _gloffset_BlendColor)
	GL_STUB(glBlendEquation, _gloffset_BlendEquation)
	GL_STUB(glDrawRangeElements, _gloffset_DrawRangeElements)
	GL_STUB(glColorTable, _gloffset_ColorTable)
	GL_STUB(glColorTableParameterfv, _gloffset_ColorTableParameterfv)
	GL_STUB(glColorTableParameteriv, _gloffset_ColorTableParameteriv)
	GL_STUB(glCopyColorTable, _gloffset_CopyColorTable)
	GL_STUB(glGetColorTable, _gloffset_GetColorTable)
	GL_STUB(glGetColorTableParameterfv, _gloffset_GetColorTableParameterfv)
	GL_STUB(glGetColorTableParameteriv, _gloffset_GetColorTableParameteriv)
	GL_STUB(glColorSubTable, _gloffset_ColorSubTable)
	GL_STUB(glCopyColorSubTable, _gloffset_CopyColorSubTable)
	GL_STUB(glConvolutionFilter1D, _gloffset_ConvolutionFilter1D)
	GL_STUB(glConvolutionFilter2D, _gloffset_ConvolutionFilter2D)
	GL_STUB(glConvolutionParameterf, _gloffset_ConvolutionParameterf)
	GL_STUB(glConvolutionParameterfv, _gloffset_ConvolutionParameterfv)
	GL_STUB(glConvolutionParameteri, _gloffset_ConvolutionParameteri)
	GL_STUB(glConvolutionParameteriv, _gloffset_ConvolutionParameteriv)
	GL_STUB(glCopyConvolutionFilter1D, _gloffset_CopyConvolutionFilter1D)
	GL_STUB(glCopyConvolutionFilter2D, _gloffset_CopyConvolutionFilter2D)
	GL_STUB(glGetConvolutionFilter, _gloffset_GetConvolutionFilter)
	GL_STUB(glGetConvolutionParameterfv, _gloffset_GetConvolutionParameterfv)
	GL_STUB(glGetConvolutionParameteriv, _gloffset_GetConvolutionParameteriv)
	GL_STUB(glGetSeparableFilter, _gloffset_GetSeparableFilter)
	GL_STUB(glSeparableFilter2D, _gloffset_SeparableFilter2D)
	GL_STUB(glGetHistogram, _gloffset_GetHistogram)
	GL_STUB(glGetHistogramParameterfv, _gloffset_GetHistogramParameterfv)
	GL_STUB(glGetHistogramParameteriv, _gloffset_GetHistogramParameteriv)
	GL_STUB(glGetMinmax, _gloffset_GetMinmax)
	GL_STUB(glGetMinmaxParameterfv, _gloffset_GetMinmaxParameterfv)
	GL_STUB(glGetMinmaxParameteriv, _gloffset_GetMinmaxParameteriv)
	GL_STUB(glHistogram, _gloffset_Histogram)
	GL_STUB(glMinmax, _gloffset_Minmax)
	GL_STUB(glResetHistogram, _gloffset_ResetHistogram)
	GL_STUB(glResetMinmax, _gloffset_ResetMinmax)
	GL_STUB(glTexImage3D, _gloffset_TexImage3D)
	GL_STUB(glTexSubImage3D, _gloffset_TexSubImage3D)
	GL_STUB(glCopyTexSubImage3D, _gloffset_CopyTexSubImage3D)
	GL_STUB(glActiveTextureARB, _gloffset_ActiveTextureARB)
	GL_STUB(glClientActiveTextureARB, _gloffset_ClientActiveTextureARB)
	GL_STUB(glMultiTexCoord1dARB, _gloffset_MultiTexCoord1dARB)
	GL_STUB(glMultiTexCoord1dvARB, _gloffset_MultiTexCoord1dvARB)
	GL_STUB(glMultiTexCoord1fARB, _gloffset_MultiTexCoord1fARB)
	GL_STUB(glMultiTexCoord1fvARB, _gloffset_MultiTexCoord1fvARB)
	GL_STUB(glMultiTexCoord1iARB, _gloffset_MultiTexCoord1iARB)
	GL_STUB(glMultiTexCoord1ivARB, _gloffset_MultiTexCoord1ivARB)
	GL_STUB(glMultiTexCoord1sARB, _gloffset_MultiTexCoord1sARB)
	GL_STUB(glMultiTexCoord1svARB, _gloffset_MultiTexCoord1svARB)
	GL_STUB(glMultiTexCoord2dARB, _gloffset_MultiTexCoord2dARB)
	GL_STUB(glMultiTexCoord2dvARB, _gloffset_MultiTexCoord2dvARB)
	GL_STUB(glMultiTexCoord2fARB, _gloffset_MultiTexCoord2fARB)
	GL_STUB(glMultiTexCoord2fvARB, _gloffset_MultiTexCoord2fvARB)
	GL_STUB(glMultiTexCoord2iARB, _gloffset_MultiTexCoord2iARB)
	GL_STUB(glMultiTexCoord2ivARB, _gloffset_MultiTexCoord2ivARB)
	GL_STUB(glMultiTexCoord2sARB, _gloffset_MultiTexCoord2sARB)
	GL_STUB(glMultiTexCoord2svARB, _gloffset_MultiTexCoord2svARB)
	GL_STUB(glMultiTexCoord3dARB, _gloffset_MultiTexCoord3dARB)
	GL_STUB(glMultiTexCoord3dvARB, _gloffset_MultiTexCoord3dvARB)
	GL_STUB(glMultiTexCoord3fARB, _gloffset_MultiTexCoord3fARB)
	GL_STUB(glMultiTexCoord3fvARB, _gloffset_MultiTexCoord3fvARB)
	GL_STUB(glMultiTexCoord3iARB, _gloffset_MultiTexCoord3iARB)
	GL_STUB(glMultiTexCoord3ivARB, _gloffset_MultiTexCoord3ivARB)
	GL_STUB(glMultiTexCoord3sARB, _gloffset_MultiTexCoord3sARB)
	GL_STUB(glMultiTexCoord3svARB, _gloffset_MultiTexCoord3svARB)
	GL_STUB(glMultiTexCoord4dARB, _gloffset_MultiTexCoord4dARB)
	GL_STUB(glMultiTexCoord4dvARB, _gloffset_MultiTexCoord4dvARB)
	GL_STUB(glMultiTexCoord4fARB, _gloffset_MultiTexCoord4fARB)
	GL_STUB(glMultiTexCoord4fvARB, _gloffset_MultiTexCoord4fvARB)
	GL_STUB(glMultiTexCoord4iARB, _gloffset_MultiTexCoord4iARB)
	GL_STUB(glMultiTexCoord4ivARB, _gloffset_MultiTexCoord4ivARB)
	GL_STUB(glMultiTexCoord4sARB, _gloffset_MultiTexCoord4sARB)
	GL_STUB(glMultiTexCoord4svARB, _gloffset_MultiTexCoord4svARB)
	GL_STUB(glAttachShader, _gloffset_AttachShader)
	GL_STUB(glCreateProgram, _gloffset_CreateProgram)
	GL_STUB(glCreateShader, _gloffset_CreateShader)
	GL_STUB(glDeleteProgram, _gloffset_DeleteProgram)
	GL_STUB(glDeleteShader, _gloffset_DeleteShader)
	GL_STUB(glDetachShader, _gloffset_DetachShader)
	GL_STUB(glGetAttachedShaders, _gloffset_GetAttachedShaders)
	GL_STUB(glGetProgramInfoLog, _gloffset_GetProgramInfoLog)
	GL_STUB(glGetProgramiv, _gloffset_GetProgramiv)
	GL_STUB(glGetShaderInfoLog, _gloffset_GetShaderInfoLog)
	GL_STUB(glGetShaderiv, _gloffset_GetShaderiv)
	GL_STUB(glIsProgram, _gloffset_IsProgram)
	GL_STUB(glIsShader, _gloffset_IsShader)
	GL_STUB(glStencilFuncSeparate, _gloffset_StencilFuncSeparate)
	GL_STUB(glStencilMaskSeparate, _gloffset_StencilMaskSeparate)
	GL_STUB(glStencilOpSeparate, _gloffset_StencilOpSeparate)
	GL_STUB(glUniformMatrix2x3fv, _gloffset_UniformMatrix2x3fv)
	GL_STUB(glUniformMatrix2x4fv, _gloffset_UniformMatrix2x4fv)
	GL_STUB(glUniformMatrix3x2fv, _gloffset_UniformMatrix3x2fv)
	GL_STUB(glUniformMatrix3x4fv, _gloffset_UniformMatrix3x4fv)
	GL_STUB(glUniformMatrix4x2fv, _gloffset_UniformMatrix4x2fv)
	GL_STUB(glUniformMatrix4x3fv, _gloffset_UniformMatrix4x3fv)
	GL_STUB(glDrawArraysInstanced, _gloffset_DrawArraysInstanced)
	GL_STUB(glDrawElementsInstanced, _gloffset_DrawElementsInstanced)
	GL_STUB(glLoadTransposeMatrixdARB, _gloffset_LoadTransposeMatrixdARB)
	GL_STUB(glLoadTransposeMatrixfARB, _gloffset_LoadTransposeMatrixfARB)
	GL_STUB(glMultTransposeMatrixdARB, _gloffset_MultTransposeMatrixdARB)
	GL_STUB(glMultTransposeMatrixfARB, _gloffset_MultTransposeMatrixfARB)
	GL_STUB(glSampleCoverageARB, _gloffset_SampleCoverageARB)
	GL_STUB(glCompressedTexImage1DARB, _gloffset_CompressedTexImage1DARB)
	GL_STUB(glCompressedTexImage2DARB, _gloffset_CompressedTexImage2DARB)
	GL_STUB(glCompressedTexImage3DARB, _gloffset_CompressedTexImage3DARB)
	GL_STUB(glCompressedTexSubImage1DARB, _gloffset_CompressedTexSubImage1DARB)
	GL_STUB(glCompressedTexSubImage2DARB, _gloffset_CompressedTexSubImage2DARB)
	GL_STUB(glCompressedTexSubImage3DARB, _gloffset_CompressedTexSubImage3DARB)
	GL_STUB(glGetCompressedTexImageARB, _gloffset_GetCompressedTexImageARB)
	GL_STUB(glDisableVertexAttribArrayARB, _gloffset_DisableVertexAttribArrayARB)
	GL_STUB(glEnableVertexAttribArrayARB, _gloffset_EnableVertexAttribArrayARB)
	GL_STUB(glGetProgramEnvParameterdvARB, _gloffset_GetProgramEnvParameterdvARB)
	GL_STUB(glGetProgramEnvParameterfvARB, _gloffset_GetProgramEnvParameterfvARB)
	GL_STUB(glGetProgramLocalParameterdvARB, _gloffset_GetProgramLocalParameterdvARB)
	GL_STUB(glGetProgramLocalParameterfvARB, _gloffset_GetProgramLocalParameterfvARB)
	GL_STUB(glGetProgramStringARB, _gloffset_GetProgramStringARB)
	GL_STUB(glGetProgramivARB, _gloffset_GetProgramivARB)
	GL_STUB(glGetVertexAttribdvARB, _gloffset_GetVertexAttribdvARB)
	GL_STUB(glGetVertexAttribfvARB, _gloffset_GetVertexAttribfvARB)
	GL_STUB(glGetVertexAttribivARB, _gloffset_GetVertexAttribivARB)
	GL_STUB(glProgramEnvParameter4dARB, _gloffset_ProgramEnvParameter4dARB)
	GL_STUB(glProgramEnvParameter4dvARB, _gloffset_ProgramEnvParameter4dvARB)
	GL_STUB(glProgramEnvParameter4fARB, _gloffset_ProgramEnvParameter4fARB)
	GL_STUB(glProgramEnvParameter4fvARB, _gloffset_ProgramEnvParameter4fvARB)
	GL_STUB(glProgramLocalParameter4dARB, _gloffset_ProgramLocalParameter4dARB)
	GL_STUB(glProgramLocalParameter4dvARB, _gloffset_ProgramLocalParameter4dvARB)
	GL_STUB(glProgramLocalParameter4fARB, _gloffset_ProgramLocalParameter4fARB)
	GL_STUB(glProgramLocalParameter4fvARB, _gloffset_ProgramLocalParameter4fvARB)
	GL_STUB(glProgramStringARB, _gloffset_ProgramStringARB)
	GL_STUB(glVertexAttrib1dARB, _gloffset_VertexAttrib1dARB)
	GL_STUB(glVertexAttrib1dvARB, _gloffset_VertexAttrib1dvARB)
	GL_STUB(glVertexAttrib1fARB, _gloffset_VertexAttrib1fARB)
	GL_STUB(glVertexAttrib1fvARB, _gloffset_VertexAttrib1fvARB)
	GL_STUB(glVertexAttrib1sARB, _gloffset_VertexAttrib1sARB)
	GL_STUB(glVertexAttrib1svARB, _gloffset_VertexAttrib1svARB)
	GL_STUB(glVertexAttrib2dARB, _gloffset_VertexAttrib2dARB)
	GL_STUB(glVertexAttrib2dvARB, _gloffset_VertexAttrib2dvARB)
	GL_STUB(glVertexAttrib2fARB, _gloffset_VertexAttrib2fARB)
	GL_STUB(glVertexAttrib2fvARB, _gloffset_VertexAttrib2fvARB)
	GL_STUB(glVertexAttrib2sARB, _gloffset_VertexAttrib2sARB)
	GL_STUB(glVertexAttrib2svARB, _gloffset_VertexAttrib2svARB)
	GL_STUB(glVertexAttrib3dARB, _gloffset_VertexAttrib3dARB)
	GL_STUB(glVertexAttrib3dvARB, _gloffset_VertexAttrib3dvARB)
	GL_STUB(glVertexAttrib3fARB, _gloffset_VertexAttrib3fARB)
	GL_STUB(glVertexAttrib3fvARB, _gloffset_VertexAttrib3fvARB)
	GL_STUB(glVertexAttrib3sARB, _gloffset_VertexAttrib3sARB)
	GL_STUB(glVertexAttrib3svARB, _gloffset_VertexAttrib3svARB)
	GL_STUB(glVertexAttrib4NbvARB, _gloffset_VertexAttrib4NbvARB)
	GL_STUB(glVertexAttrib4NivARB, _gloffset_VertexAttrib4NivARB)
	GL_STUB(glVertexAttrib4NsvARB, _gloffset_VertexAttrib4NsvARB)
	GL_STUB(glVertexAttrib4NubARB, _gloffset_VertexAttrib4NubARB)
	GL_STUB(glVertexAttrib4NubvARB, _gloffset_VertexAttrib4NubvARB)
	GL_STUB(glVertexAttrib4NuivARB, _gloffset_VertexAttrib4NuivARB)
	GL_STUB(glVertexAttrib4NusvARB, _gloffset_VertexAttrib4NusvARB)
	GL_STUB(glVertexAttrib4bvARB, _gloffset_VertexAttrib4bvARB)
	GL_STUB(glVertexAttrib4dARB, _gloffset_VertexAttrib4dARB)
	GL_STUB(glVertexAttrib4dvARB, _gloffset_VertexAttrib4dvARB)
	GL_STUB(glVertexAttrib4fARB, _gloffset_VertexAttrib4fARB)
	GL_STUB(glVertexAttrib4fvARB, _gloffset_VertexAttrib4fvARB)
	GL_STUB(glVertexAttrib4ivARB, _gloffset_VertexAttrib4ivARB)
	GL_STUB(glVertexAttrib4sARB, _gloffset_VertexAttrib4sARB)
	GL_STUB(glVertexAttrib4svARB, _gloffset_VertexAttrib4svARB)
	GL_STUB(glVertexAttrib4ubvARB, _gloffset_VertexAttrib4ubvARB)
	GL_STUB(glVertexAttrib4uivARB, _gloffset_VertexAttrib4uivARB)
	GL_STUB(glVertexAttrib4usvARB, _gloffset_VertexAttrib4usvARB)
	GL_STUB(glVertexAttribPointerARB, _gloffset_VertexAttribPointerARB)
	GL_STUB(glBindBufferARB, _gloffset_BindBufferARB)
	GL_STUB(glBufferDataARB, _gloffset_BufferDataARB)
	GL_STUB(glBufferSubDataARB, _gloffset_BufferSubDataARB)
	GL_STUB(glDeleteBuffersARB, _gloffset_DeleteBuffersARB)
	GL_STUB(glGenBuffersARB, _gloffset_GenBuffersARB)
	GL_STUB(glGetBufferParameterivARB, _gloffset_GetBufferParameterivARB)
	GL_STUB(glGetBufferPointervARB, _gloffset_GetBufferPointervARB)
	GL_STUB(glGetBufferSubDataARB, _gloffset_GetBufferSubDataARB)
	GL_STUB(glIsBufferARB, _gloffset_IsBufferARB)
	GL_STUB(glMapBufferARB, _gloffset_MapBufferARB)
	GL_STUB(glUnmapBufferARB, _gloffset_UnmapBufferARB)
	GL_STUB(glBeginQueryARB, _gloffset_BeginQueryARB)
	GL_STUB(glDeleteQueriesARB, _gloffset_DeleteQueriesARB)
	GL_STUB(glEndQueryARB, _gloffset_EndQueryARB)
	GL_STUB(glGenQueriesARB, _gloffset_GenQueriesARB)
	GL_STUB(glGetQueryObjectivARB, _gloffset_GetQueryObjectivARB)
	GL_STUB(glGetQueryObjectuivARB, _gloffset_GetQueryObjectuivARB)
	GL_STUB(glGetQueryivARB, _gloffset_GetQueryivARB)
	GL_STUB(glIsQueryARB, _gloffset_IsQueryARB)
	GL_STUB(glAttachObjectARB, _gloffset_AttachObjectARB)
	GL_STUB(glCompileShaderARB, _gloffset_CompileShaderARB)
	GL_STUB(glCreateProgramObjectARB, _gloffset_CreateProgramObjectARB)
	GL_STUB(glCreateShaderObjectARB, _gloffset_CreateShaderObjectARB)
	GL_STUB(glDeleteObjectARB, _gloffset_DeleteObjectARB)
	GL_STUB(glDetachObjectARB, _gloffset_DetachObjectARB)
	GL_STUB(glGetActiveUniformARB, _gloffset_GetActiveUniformARB)
	GL_STUB(glGetAttachedObjectsARB, _gloffset_GetAttachedObjectsARB)
	GL_STUB(glGetHandleARB, _gloffset_GetHandleARB)
	GL_STUB(glGetInfoLogARB, _gloffset_GetInfoLogARB)
	GL_STUB(glGetObjectParameterfvARB, _gloffset_GetObjectParameterfvARB)
	GL_STUB(glGetObjectParameterivARB, _gloffset_GetObjectParameterivARB)
	GL_STUB(glGetShaderSourceARB, _gloffset_GetShaderSourceARB)
	GL_STUB(glGetUniformLocationARB, _gloffset_GetUniformLocationARB)
	GL_STUB(glGetUniformfvARB, _gloffset_GetUniformfvARB)
	GL_STUB(glGetUniformivARB, _gloffset_GetUniformivARB)
	GL_STUB(glLinkProgramARB, _gloffset_LinkProgramARB)
	GL_STUB(glShaderSourceARB, _gloffset_ShaderSourceARB)
	GL_STUB(glUniform1fARB, _gloffset_Uniform1fARB)
	GL_STUB(glUniform1fvARB, _gloffset_Uniform1fvARB)
	GL_STUB(glUniform1iARB, _gloffset_Uniform1iARB)
	GL_STUB(glUniform1ivARB, _gloffset_Uniform1ivARB)
	GL_STUB(glUniform2fARB, _gloffset_Uniform2fARB)
	GL_STUB(glUniform2fvARB, _gloffset_Uniform2fvARB)
	GL_STUB(glUniform2iARB, _gloffset_Uniform2iARB)
	GL_STUB(glUniform2ivARB, _gloffset_Uniform2ivARB)
	GL_STUB(glUniform3fARB, _gloffset_Uniform3fARB)
	GL_STUB(glUniform3fvARB, _gloffset_Uniform3fvARB)
	GL_STUB(glUniform3iARB, _gloffset_Uniform3iARB)
	GL_STUB(glUniform3ivARB, _gloffset_Uniform3ivARB)
	GL_STUB(glUniform4fARB, _gloffset_Uniform4fARB)
	GL_STUB(glUniform4fvARB, _gloffset_Uniform4fvARB)
	GL_STUB(glUniform4iARB, _gloffset_Uniform4iARB)
	GL_STUB(glUniform4ivARB, _gloffset_Uniform4ivARB)
	GL_STUB(glUniformMatrix2fvARB, _gloffset_UniformMatrix2fvARB)
	GL_STUB(glUniformMatrix3fvARB, _gloffset_UniformMatrix3fvARB)
	GL_STUB(glUniformMatrix4fvARB, _gloffset_UniformMatrix4fvARB)
	GL_STUB(glUseProgramObjectARB, _gloffset_UseProgramObjectARB)
	GL_STUB(glValidateProgramARB, _gloffset_ValidateProgramARB)
	GL_STUB(glBindAttribLocationARB, _gloffset_BindAttribLocationARB)
	GL_STUB(glGetActiveAttribARB, _gloffset_GetActiveAttribARB)
	GL_STUB(glGetAttribLocationARB, _gloffset_GetAttribLocationARB)
	GL_STUB(glDrawBuffersARB, _gloffset_DrawBuffersARB)
	GL_STUB(glRenderbufferStorageMultisample, _gloffset_RenderbufferStorageMultisample)
	GL_STUB(glFramebufferTextureARB, _gloffset_FramebufferTextureARB)
	GL_STUB(glFramebufferTextureFaceARB, _gloffset_FramebufferTextureFaceARB)
	GL_STUB(glProgramParameteriARB, _gloffset_ProgramParameteriARB)
	GL_STUB(glFlushMappedBufferRange, _gloffset_FlushMappedBufferRange)
	GL_STUB(glMapBufferRange, _gloffset_MapBufferRange)
	GL_STUB(glBindVertexArray, _gloffset_BindVertexArray)
	GL_STUB(glGenVertexArrays, _gloffset_GenVertexArrays)
	GL_STUB(glCopyBufferSubData, _gloffset_CopyBufferSubData)
	GL_STUB(glClientWaitSync, _gloffset_ClientWaitSync)
	GL_STUB(glDeleteSync, _gloffset_DeleteSync)
	GL_STUB(glFenceSync, _gloffset_FenceSync)
	GL_STUB(glGetInteger64v, _gloffset_GetInteger64v)
	GL_STUB(glGetSynciv, _gloffset_GetSynciv)
	GL_STUB(glIsSync, _gloffset_IsSync)
	GL_STUB(glWaitSync, _gloffset_WaitSync)
	GL_STUB(glDrawElementsBaseVertex, _gloffset_DrawElementsBaseVertex)
	GL_STUB(glDrawRangeElementsBaseVertex, _gloffset_DrawRangeElementsBaseVertex)
	GL_STUB(glMultiDrawElementsBaseVertex, _gloffset_MultiDrawElementsBaseVertex)
	GL_STUB(glBindTransformFeedback, _gloffset_BindTransformFeedback)
	GL_STUB(glDeleteTransformFeedbacks, _gloffset_DeleteTransformFeedbacks)
	GL_STUB(glDrawTransformFeedback, _gloffset_DrawTransformFeedback)
	GL_STUB(glGenTransformFeedbacks, _gloffset_GenTransformFeedbacks)
	GL_STUB(glIsTransformFeedback, _gloffset_IsTransformFeedback)
	GL_STUB(glPauseTransformFeedback, _gloffset_PauseTransformFeedback)
	GL_STUB(glResumeTransformFeedback, _gloffset_ResumeTransformFeedback)
	GL_STUB(glPolygonOffsetEXT, _gloffset_PolygonOffsetEXT)
	GL_STUB(gl_dispatch_stub_590, _gloffset_GetPixelTexGenParameterfvSGIS)
	HIDDEN(gl_dispatch_stub_590)
	GL_STUB(gl_dispatch_stub_591, _gloffset_GetPixelTexGenParameterivSGIS)
	HIDDEN(gl_dispatch_stub_591)
	GL_STUB(gl_dispatch_stub_592, _gloffset_PixelTexGenParameterfSGIS)
	HIDDEN(gl_dispatch_stub_592)
	GL_STUB(gl_dispatch_stub_593, _gloffset_PixelTexGenParameterfvSGIS)
	HIDDEN(gl_dispatch_stub_593)
	GL_STUB(gl_dispatch_stub_594, _gloffset_PixelTexGenParameteriSGIS)
	HIDDEN(gl_dispatch_stub_594)
	GL_STUB(gl_dispatch_stub_595, _gloffset_PixelTexGenParameterivSGIS)
	HIDDEN(gl_dispatch_stub_595)
	GL_STUB(gl_dispatch_stub_596, _gloffset_SampleMaskSGIS)
	HIDDEN(gl_dispatch_stub_596)
	GL_STUB(gl_dispatch_stub_597, _gloffset_SamplePatternSGIS)
	HIDDEN(gl_dispatch_stub_597)
	GL_STUB(glColorPointerEXT, _gloffset_ColorPointerEXT)
	GL_STUB(glEdgeFlagPointerEXT, _gloffset_EdgeFlagPointerEXT)
	GL_STUB(glIndexPointerEXT, _gloffset_IndexPointerEXT)
	GL_STUB(glNormalPointerEXT, _gloffset_NormalPointerEXT)
	GL_STUB(glTexCoordPointerEXT, _gloffset_TexCoordPointerEXT)
	GL_STUB(glVertexPointerEXT, _gloffset_VertexPointerEXT)
	GL_STUB(glPointParameterfEXT, _gloffset_PointParameterfEXT)
	GL_STUB(glPointParameterfvEXT, _gloffset_PointParameterfvEXT)
	GL_STUB(glLockArraysEXT, _gloffset_LockArraysEXT)
	GL_STUB(glUnlockArraysEXT, _gloffset_UnlockArraysEXT)
	GL_STUB(gl_dispatch_stub_608, _gloffset_CullParameterdvEXT)
	HIDDEN(gl_dispatch_stub_608)
	GL_STUB(gl_dispatch_stub_609, _gloffset_CullParameterfvEXT)
	HIDDEN(gl_dispatch_stub_609)
	GL_STUB(glSecondaryColor3bEXT, _gloffset_SecondaryColor3bEXT)
	GL_STUB(glSecondaryColor3bvEXT, _gloffset_SecondaryColor3bvEXT)
	GL_STUB(glSecondaryColor3dEXT, _gloffset_SecondaryColor3dEXT)
	GL_STUB(glSecondaryColor3dvEXT, _gloffset_SecondaryColor3dvEXT)
	GL_STUB(glSecondaryColor3fEXT, _gloffset_SecondaryColor3fEXT)
	GL_STUB(glSecondaryColor3fvEXT, _gloffset_SecondaryColor3fvEXT)
	GL_STUB(glSecondaryColor3iEXT, _gloffset_SecondaryColor3iEXT)
	GL_STUB(glSecondaryColor3ivEXT, _gloffset_SecondaryColor3ivEXT)
	GL_STUB(glSecondaryColor3sEXT, _gloffset_SecondaryColor3sEXT)
	GL_STUB(glSecondaryColor3svEXT, _gloffset_SecondaryColor3svEXT)
	GL_STUB(glSecondaryColor3ubEXT, _gloffset_SecondaryColor3ubEXT)
	GL_STUB(glSecondaryColor3ubvEXT, _gloffset_SecondaryColor3ubvEXT)
	GL_STUB(glSecondaryColor3uiEXT, _gloffset_SecondaryColor3uiEXT)
	GL_STUB(glSecondaryColor3uivEXT, _gloffset_SecondaryColor3uivEXT)
	GL_STUB(glSecondaryColor3usEXT, _gloffset_SecondaryColor3usEXT)
	GL_STUB(glSecondaryColor3usvEXT, _gloffset_SecondaryColor3usvEXT)
	GL_STUB(glSecondaryColorPointerEXT, _gloffset_SecondaryColorPointerEXT)
	GL_STUB(glMultiDrawArraysEXT, _gloffset_MultiDrawArraysEXT)
	GL_STUB(glMultiDrawElementsEXT, _gloffset_MultiDrawElementsEXT)
	GL_STUB(glFogCoordPointerEXT, _gloffset_FogCoordPointerEXT)
	GL_STUB(glFogCoorddEXT, _gloffset_FogCoorddEXT)
	GL_STUB(glFogCoorddvEXT, _gloffset_FogCoorddvEXT)
	GL_STUB(glFogCoordfEXT, _gloffset_FogCoordfEXT)
	GL_STUB(glFogCoordfvEXT, _gloffset_FogCoordfvEXT)
	GL_STUB(gl_dispatch_stub_634, _gloffset_PixelTexGenSGIX)
	HIDDEN(gl_dispatch_stub_634)
	GL_STUB(glBlendFuncSeparateEXT, _gloffset_BlendFuncSeparateEXT)
	GL_STUB(glFlushVertexArrayRangeNV, _gloffset_FlushVertexArrayRangeNV)
	GL_STUB(glVertexArrayRangeNV, _gloffset_VertexArrayRangeNV)
	GL_STUB(glCombinerInputNV, _gloffset_CombinerInputNV)
	GL_STUB(glCombinerOutputNV, _gloffset_CombinerOutputNV)
	GL_STUB(glCombinerParameterfNV, _gloffset_CombinerParameterfNV)
	GL_STUB(glCombinerParameterfvNV, _gloffset_CombinerParameterfvNV)
	GL_STUB(glCombinerParameteriNV, _gloffset_CombinerParameteriNV)
	GL_STUB(glCombinerParameterivNV, _gloffset_CombinerParameterivNV)
	GL_STUB(glFinalCombinerInputNV, _gloffset_FinalCombinerInputNV)
	GL_STUB(glGetCombinerInputParameterfvNV, _gloffset_GetCombinerInputParameterfvNV)
	GL_STUB(glGetCombinerInputParameterivNV, _gloffset_GetCombinerInputParameterivNV)
	GL_STUB(glGetCombinerOutputParameterfvNV, _gloffset_GetCombinerOutputParameterfvNV)
	GL_STUB(glGetCombinerOutputParameterivNV, _gloffset_GetCombinerOutputParameterivNV)
	GL_STUB(glGetFinalCombinerInputParameterfvNV, _gloffset_GetFinalCombinerInputParameterfvNV)
	GL_STUB(glGetFinalCombinerInputParameterivNV, _gloffset_GetFinalCombinerInputParameterivNV)
	GL_STUB(glResizeBuffersMESA, _gloffset_ResizeBuffersMESA)
	GL_STUB(glWindowPos2dMESA, _gloffset_WindowPos2dMESA)
	GL_STUB(glWindowPos2dvMESA, _gloffset_WindowPos2dvMESA)
	GL_STUB(glWindowPos2fMESA, _gloffset_WindowPos2fMESA)
	GL_STUB(glWindowPos2fvMESA, _gloffset_WindowPos2fvMESA)
	GL_STUB(glWindowPos2iMESA, _gloffset_WindowPos2iMESA)
	GL_STUB(glWindowPos2ivMESA, _gloffset_WindowPos2ivMESA)
	GL_STUB(glWindowPos2sMESA, _gloffset_WindowPos2sMESA)
	GL_STUB(glWindowPos2svMESA, _gloffset_WindowPos2svMESA)
	GL_STUB(glWindowPos3dMESA, _gloffset_WindowPos3dMESA)
	GL_STUB(glWindowPos3dvMESA, _gloffset_WindowPos3dvMESA)
	GL_STUB(glWindowPos3fMESA, _gloffset_WindowPos3fMESA)
	GL_STUB(glWindowPos3fvMESA, _gloffset_WindowPos3fvMESA)
	GL_STUB(glWindowPos3iMESA, _gloffset_WindowPos3iMESA)
	GL_STUB(glWindowPos3ivMESA, _gloffset_WindowPos3ivMESA)
	GL_STUB(glWindowPos3sMESA, _gloffset_WindowPos3sMESA)
	GL_STUB(glWindowPos3svMESA, _gloffset_WindowPos3svMESA)
	GL_STUB(glWindowPos4dMESA, _gloffset_WindowPos4dMESA)
	GL_STUB(glWindowPos4dvMESA, _gloffset_WindowPos4dvMESA)
	GL_STUB(glWindowPos4fMESA, _gloffset_WindowPos4fMESA)
	GL_STUB(glWindowPos4fvMESA, _gloffset_WindowPos4fvMESA)
	GL_STUB(glWindowPos4iMESA, _gloffset_WindowPos4iMESA)
	GL_STUB(glWindowPos4ivMESA, _gloffset_WindowPos4ivMESA)
	GL_STUB(glWindowPos4sMESA, _gloffset_WindowPos4sMESA)
	GL_STUB(glWindowPos4svMESA, _gloffset_WindowPos4svMESA)
	GL_STUB(gl_dispatch_stub_676, _gloffset_MultiModeDrawArraysIBM)
	HIDDEN(gl_dispatch_stub_676)
	GL_STUB(gl_dispatch_stub_677, _gloffset_MultiModeDrawElementsIBM)
	HIDDEN(gl_dispatch_stub_677)
	GL_STUB(gl_dispatch_stub_678, _gloffset_DeleteFencesNV)
	HIDDEN(gl_dispatch_stub_678)
	GL_STUB(gl_dispatch_stub_679, _gloffset_FinishFenceNV)
	HIDDEN(gl_dispatch_stub_679)
	GL_STUB(gl_dispatch_stub_680, _gloffset_GenFencesNV)
	HIDDEN(gl_dispatch_stub_680)
	GL_STUB(gl_dispatch_stub_681, _gloffset_GetFenceivNV)
	HIDDEN(gl_dispatch_stub_681)
	GL_STUB(gl_dispatch_stub_682, _gloffset_IsFenceNV)
	HIDDEN(gl_dispatch_stub_682)
	GL_STUB(gl_dispatch_stub_683, _gloffset_SetFenceNV)
	HIDDEN(gl_dispatch_stub_683)
	GL_STUB(gl_dispatch_stub_684, _gloffset_TestFenceNV)
	HIDDEN(gl_dispatch_stub_684)
	GL_STUB(glAreProgramsResidentNV, _gloffset_AreProgramsResidentNV)
	GL_STUB(glBindProgramNV, _gloffset_BindProgramNV)
	GL_STUB(glDeleteProgramsNV, _gloffset_DeleteProgramsNV)
	GL_STUB(glExecuteProgramNV, _gloffset_ExecuteProgramNV)
	GL_STUB(glGenProgramsNV, _gloffset_GenProgramsNV)
	GL_STUB(glGetProgramParameterdvNV, _gloffset_GetProgramParameterdvNV)
	GL_STUB(glGetProgramParameterfvNV, _gloffset_GetProgramParameterfvNV)
	GL_STUB(glGetProgramStringNV, _gloffset_GetProgramStringNV)
	GL_STUB(glGetProgramivNV, _gloffset_GetProgramivNV)
	GL_STUB(glGetTrackMatrixivNV, _gloffset_GetTrackMatrixivNV)
	GL_STUB(glGetVertexAttribPointervNV, _gloffset_GetVertexAttribPointervNV)
	GL_STUB(glGetVertexAttribdvNV, _gloffset_GetVertexAttribdvNV)
	GL_STUB(glGetVertexAttribfvNV, _gloffset_GetVertexAttribfvNV)
	GL_STUB(glGetVertexAttribivNV, _gloffset_GetVertexAttribivNV)
	GL_STUB(glIsProgramNV, _gloffset_IsProgramNV)
	GL_STUB(glLoadProgramNV, _gloffset_LoadProgramNV)
	GL_STUB(glProgramParameters4dvNV, _gloffset_ProgramParameters4dvNV)
	GL_STUB(glProgramParameters4fvNV, _gloffset_ProgramParameters4fvNV)
	GL_STUB(glRequestResidentProgramsNV, _gloffset_RequestResidentProgramsNV)
	GL_STUB(glTrackMatrixNV, _gloffset_TrackMatrixNV)
	GL_STUB(glVertexAttrib1dNV, _gloffset_VertexAttrib1dNV)
	GL_STUB(glVertexAttrib1dvNV, _gloffset_VertexAttrib1dvNV)
	GL_STUB(glVertexAttrib1fNV, _gloffset_VertexAttrib1fNV)
	GL_STUB(glVertexAttrib1fvNV, _gloffset_VertexAttrib1fvNV)
	GL_STUB(glVertexAttrib1sNV, _gloffset_VertexAttrib1sNV)
	GL_STUB(glVertexAttrib1svNV, _gloffset_VertexAttrib1svNV)
	GL_STUB(glVertexAttrib2dNV, _gloffset_VertexAttrib2dNV)
	GL_STUB(glVertexAttrib2dvNV, _gloffset_VertexAttrib2dvNV)
	GL_STUB(glVertexAttrib2fNV, _gloffset_VertexAttrib2fNV)
	GL_STUB(glVertexAttrib2fvNV, _gloffset_VertexAttrib2fvNV)
	GL_STUB(glVertexAttrib2sNV, _gloffset_VertexAttrib2sNV)
	GL_STUB(glVertexAttrib2svNV, _gloffset_VertexAttrib2svNV)
	GL_STUB(glVertexAttrib3dNV, _gloffset_VertexAttrib3dNV)
	GL_STUB(glVertexAttrib3dvNV, _gloffset_VertexAttrib3dvNV)
	GL_STUB(glVertexAttrib3fNV, _gloffset_VertexAttrib3fNV)
	GL_STUB(glVertexAttrib3fvNV, _gloffset_VertexAttrib3fvNV)
	GL_STUB(glVertexAttrib3sNV, _gloffset_VertexAttrib3sNV)
	GL_STUB(glVertexAttrib3svNV, _gloffset_VertexAttrib3svNV)
	GL_STUB(glVertexAttrib4dNV, _gloffset_VertexAttrib4dNV)
	GL_STUB(glVertexAttrib4dvNV, _gloffset_VertexAttrib4dvNV)
	GL_STUB(glVertexAttrib4fNV, _gloffset_VertexAttrib4fNV)
	GL_STUB(glVertexAttrib4fvNV, _gloffset_VertexAttrib4fvNV)
	GL_STUB(glVertexAttrib4sNV, _gloffset_VertexAttrib4sNV)
	GL_STUB(glVertexAttrib4svNV, _gloffset_VertexAttrib4svNV)
	GL_STUB(glVertexAttrib4ubNV, _gloffset_VertexAttrib4ubNV)
	GL_STUB(glVertexAttrib4ubvNV, _gloffset_VertexAttrib4ubvNV)
	GL_STUB(glVertexAttribPointerNV, _gloffset_VertexAttribPointerNV)
	GL_STUB(glVertexAttribs1dvNV, _gloffset_VertexAttribs1dvNV)
	GL_STUB(glVertexAttribs1fvNV, _gloffset_VertexAttribs1fvNV)
	GL_STUB(glVertexAttribs1svNV, _gloffset_VertexAttribs1svNV)
	GL_STUB(glVertexAttribs2dvNV, _gloffset_VertexAttribs2dvNV)
	GL_STUB(glVertexAttribs2fvNV, _gloffset_VertexAttribs2fvNV)
	GL_STUB(glVertexAttribs2svNV, _gloffset_VertexAttribs2svNV)
	GL_STUB(glVertexAttribs3dvNV, _gloffset_VertexAttribs3dvNV)
	GL_STUB(glVertexAttribs3fvNV, _gloffset_VertexAttribs3fvNV)
	GL_STUB(glVertexAttribs3svNV, _gloffset_VertexAttribs3svNV)
	GL_STUB(glVertexAttribs4dvNV, _gloffset_VertexAttribs4dvNV)
	GL_STUB(glVertexAttribs4fvNV, _gloffset_VertexAttribs4fvNV)
	GL_STUB(glVertexAttribs4svNV, _gloffset_VertexAttribs4svNV)
	GL_STUB(glVertexAttribs4ubvNV, _gloffset_VertexAttribs4ubvNV)
	GL_STUB(glGetTexBumpParameterfvATI, _gloffset_GetTexBumpParameterfvATI)
	GL_STUB(glGetTexBumpParameterivATI, _gloffset_GetTexBumpParameterivATI)
	GL_STUB(glTexBumpParameterfvATI, _gloffset_TexBumpParameterfvATI)
	GL_STUB(glTexBumpParameterivATI, _gloffset_TexBumpParameterivATI)
	GL_STUB(glAlphaFragmentOp1ATI, _gloffset_AlphaFragmentOp1ATI)
	GL_STUB(glAlphaFragmentOp2ATI, _gloffset_AlphaFragmentOp2ATI)
	GL_STUB(glAlphaFragmentOp3ATI, _gloffset_AlphaFragmentOp3ATI)
	GL_STUB(glBeginFragmentShaderATI, _gloffset_BeginFragmentShaderATI)
	GL_STUB(glBindFragmentShaderATI, _gloffset_BindFragmentShaderATI)
	GL_STUB(glColorFragmentOp1ATI, _gloffset_ColorFragmentOp1ATI)
	GL_STUB(glColorFragmentOp2ATI, _gloffset_ColorFragmentOp2ATI)
	GL_STUB(glColorFragmentOp3ATI, _gloffset_ColorFragmentOp3ATI)
	GL_STUB(glDeleteFragmentShaderATI, _gloffset_DeleteFragmentShaderATI)
	GL_STUB(glEndFragmentShaderATI, _gloffset_EndFragmentShaderATI)
	GL_STUB(glGenFragmentShadersATI, _gloffset_GenFragmentShadersATI)
	GL_STUB(glPassTexCoordATI, _gloffset_PassTexCoordATI)
	GL_STUB(glSampleMapATI, _gloffset_SampleMapATI)
	GL_STUB(glSetFragmentShaderConstantATI, _gloffset_SetFragmentShaderConstantATI)
	GL_STUB(glPointParameteriNV, _gloffset_PointParameteriNV)
	GL_STUB(glPointParameterivNV, _gloffset_PointParameterivNV)
	GL_STUB(gl_dispatch_stub_765, _gloffset_ActiveStencilFaceEXT)
	HIDDEN(gl_dispatch_stub_765)
	GL_STUB(gl_dispatch_stub_766, _gloffset_BindVertexArrayAPPLE)
	HIDDEN(gl_dispatch_stub_766)
	GL_STUB(gl_dispatch_stub_767, _gloffset_DeleteVertexArraysAPPLE)
	HIDDEN(gl_dispatch_stub_767)
	GL_STUB(gl_dispatch_stub_768, _gloffset_GenVertexArraysAPPLE)
	HIDDEN(gl_dispatch_stub_768)
	GL_STUB(gl_dispatch_stub_769, _gloffset_IsVertexArrayAPPLE)
	HIDDEN(gl_dispatch_stub_769)
	GL_STUB(glGetProgramNamedParameterdvNV, _gloffset_GetProgramNamedParameterdvNV)
	GL_STUB(glGetProgramNamedParameterfvNV, _gloffset_GetProgramNamedParameterfvNV)
	GL_STUB(glProgramNamedParameter4dNV, _gloffset_ProgramNamedParameter4dNV)
	GL_STUB(glProgramNamedParameter4dvNV, _gloffset_ProgramNamedParameter4dvNV)
	GL_STUB(glProgramNamedParameter4fNV, _gloffset_ProgramNamedParameter4fNV)
	GL_STUB(glProgramNamedParameter4fvNV, _gloffset_ProgramNamedParameter4fvNV)
	GL_STUB(gl_dispatch_stub_776, _gloffset_DepthBoundsEXT)
	HIDDEN(gl_dispatch_stub_776)
	GL_STUB(gl_dispatch_stub_777, _gloffset_BlendEquationSeparateEXT)
	HIDDEN(gl_dispatch_stub_777)
	GL_STUB(glBindFramebufferEXT, _gloffset_BindFramebufferEXT)
	GL_STUB(glBindRenderbufferEXT, _gloffset_BindRenderbufferEXT)
	GL_STUB(glCheckFramebufferStatusEXT, _gloffset_CheckFramebufferStatusEXT)
	GL_STUB(glDeleteFramebuffersEXT, _gloffset_DeleteFramebuffersEXT)
	GL_STUB(glDeleteRenderbuffersEXT, _gloffset_DeleteRenderbuffersEXT)
	GL_STUB(glFramebufferRenderbufferEXT, _gloffset_FramebufferRenderbufferEXT)
	GL_STUB(glFramebufferTexture1DEXT, _gloffset_FramebufferTexture1DEXT)
	GL_STUB(glFramebufferTexture2DEXT, _gloffset_FramebufferTexture2DEXT)
	GL_STUB(glFramebufferTexture3DEXT, _gloffset_FramebufferTexture3DEXT)
	GL_STUB(glGenFramebuffersEXT, _gloffset_GenFramebuffersEXT)
	GL_STUB(glGenRenderbuffersEXT, _gloffset_GenRenderbuffersEXT)
	GL_STUB(glGenerateMipmapEXT, _gloffset_GenerateMipmapEXT)
	GL_STUB(glGetFramebufferAttachmentParameterivEXT, _gloffset_GetFramebufferAttachmentParameterivEXT)
	GL_STUB(glGetRenderbufferParameterivEXT, _gloffset_GetRenderbufferParameterivEXT)
	GL_STUB(glIsFramebufferEXT, _gloffset_IsFramebufferEXT)
	GL_STUB(glIsRenderbufferEXT, _gloffset_IsRenderbufferEXT)
	GL_STUB(glRenderbufferStorageEXT, _gloffset_RenderbufferStorageEXT)
	GL_STUB(gl_dispatch_stub_795, _gloffset_BlitFramebufferEXT)
	HIDDEN(gl_dispatch_stub_795)
	GL_STUB(gl_dispatch_stub_796, _gloffset_BufferParameteriAPPLE)
	HIDDEN(gl_dispatch_stub_796)
	GL_STUB(gl_dispatch_stub_797, _gloffset_FlushMappedBufferRangeAPPLE)
	HIDDEN(gl_dispatch_stub_797)
	GL_STUB(glFramebufferTextureLayerEXT, _gloffset_FramebufferTextureLayerEXT)
	GL_STUB(glColorMaskIndexedEXT, _gloffset_ColorMaskIndexedEXT)
	GL_STUB(glDisableIndexedEXT, _gloffset_DisableIndexedEXT)
	GL_STUB(glEnableIndexedEXT, _gloffset_EnableIndexedEXT)
	GL_STUB(glGetBooleanIndexedvEXT, _gloffset_GetBooleanIndexedvEXT)
	GL_STUB(glGetIntegerIndexedvEXT, _gloffset_GetIntegerIndexedvEXT)
	GL_STUB(glIsEnabledIndexedEXT, _gloffset_IsEnabledIndexedEXT)
	GL_STUB(glBeginConditionalRenderNV, _gloffset_BeginConditionalRenderNV)
	GL_STUB(glEndConditionalRenderNV, _gloffset_EndConditionalRenderNV)
	GL_STUB(glBeginTransformFeedbackEXT, _gloffset_BeginTransformFeedbackEXT)
	GL_STUB(glBindBufferBaseEXT, _gloffset_BindBufferBaseEXT)
	GL_STUB(glBindBufferOffsetEXT, _gloffset_BindBufferOffsetEXT)
	GL_STUB(glBindBufferRangeEXT, _gloffset_BindBufferRangeEXT)
	GL_STUB(glEndTransformFeedbackEXT, _gloffset_EndTransformFeedbackEXT)
	GL_STUB(glGetTransformFeedbackVaryingEXT, _gloffset_GetTransformFeedbackVaryingEXT)
	GL_STUB(glTransformFeedbackVaryingsEXT, _gloffset_TransformFeedbackVaryingsEXT)
	GL_STUB(glProvokingVertexEXT, _gloffset_ProvokingVertexEXT)
	GL_STUB(gl_dispatch_stub_815, _gloffset_GetTexParameterPointervAPPLE)
	HIDDEN(gl_dispatch_stub_815)
	GL_STUB(gl_dispatch_stub_816, _gloffset_TextureRangeAPPLE)
	HIDDEN(gl_dispatch_stub_816)
	GL_STUB(glGetObjectParameterivAPPLE, _gloffset_GetObjectParameterivAPPLE)
	GL_STUB(glObjectPurgeableAPPLE, _gloffset_ObjectPurgeableAPPLE)
	GL_STUB(glObjectUnpurgeableAPPLE, _gloffset_ObjectUnpurgeableAPPLE)
	GL_STUB(gl_dispatch_stub_820, _gloffset_StencilFuncSeparateATI)
	HIDDEN(gl_dispatch_stub_820)
	GL_STUB(gl_dispatch_stub_821, _gloffset_ProgramEnvParameters4fvEXT)
	HIDDEN(gl_dispatch_stub_821)
	GL_STUB(gl_dispatch_stub_822, _gloffset_ProgramLocalParameters4fvEXT)
	HIDDEN(gl_dispatch_stub_822)
	GL_STUB(gl_dispatch_stub_823, _gloffset_GetQueryObjecti64vEXT)
	HIDDEN(gl_dispatch_stub_823)
	GL_STUB(gl_dispatch_stub_824, _gloffset_GetQueryObjectui64vEXT)
	HIDDEN(gl_dispatch_stub_824)
	GL_STUB(glEGLImageTargetRenderbufferStorageOES, _gloffset_EGLImageTargetRenderbufferStorageOES)
	GL_STUB(glEGLImageTargetTexture2DOES, _gloffset_EGLImageTargetTexture2DOES)
	GL_STUB_ALIAS(glArrayElementEXT, glArrayElement)
	GL_STUB_ALIAS(glBindTextureEXT, glBindTexture)
	GL_STUB_ALIAS(glDrawArraysEXT, glDrawArrays)
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glAreTexturesResidentEXT, glAreTexturesResident)
#endif
	GL_STUB_ALIAS(glCopyTexImage1DEXT, glCopyTexImage1D)
	GL_STUB_ALIAS(glCopyTexImage2DEXT, glCopyTexImage2D)
	GL_STUB_ALIAS(glCopyTexSubImage1DEXT, glCopyTexSubImage1D)
	GL_STUB_ALIAS(glCopyTexSubImage2DEXT, glCopyTexSubImage2D)
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glDeleteTexturesEXT, glDeleteTextures)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGenTexturesEXT, glGenTextures)
#endif
	GL_STUB_ALIAS(glGetPointervEXT, glGetPointerv)
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glIsTextureEXT, glIsTexture)
#endif
	GL_STUB_ALIAS(glPrioritizeTexturesEXT, glPrioritizeTextures)
	GL_STUB_ALIAS(glTexSubImage1DEXT, glTexSubImage1D)
	GL_STUB_ALIAS(glTexSubImage2DEXT, glTexSubImage2D)
	GL_STUB_ALIAS(glBlendColorEXT, glBlendColor)
	GL_STUB_ALIAS(glBlendEquationEXT, glBlendEquation)
	GL_STUB_ALIAS(glDrawRangeElementsEXT, glDrawRangeElements)
	GL_STUB_ALIAS(glColorTableSGI, glColorTable)
	GL_STUB_ALIAS(glColorTableEXT, glColorTable)
	GL_STUB_ALIAS(glColorTableParameterfvSGI, glColorTableParameterfv)
	GL_STUB_ALIAS(glColorTableParameterivSGI, glColorTableParameteriv)
	GL_STUB_ALIAS(glCopyColorTableSGI, glCopyColorTable)
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetColorTableSGI, glGetColorTable)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetColorTableEXT, glGetColorTable)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetColorTableParameterfvSGI, glGetColorTableParameterfv)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetColorTableParameterfvEXT, glGetColorTableParameterfv)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetColorTableParameterivSGI, glGetColorTableParameteriv)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetColorTableParameterivEXT, glGetColorTableParameteriv)
#endif
	GL_STUB_ALIAS(glColorSubTableEXT, glColorSubTable)
	GL_STUB_ALIAS(glCopyColorSubTableEXT, glCopyColorSubTable)
	GL_STUB_ALIAS(glConvolutionFilter1DEXT, glConvolutionFilter1D)
	GL_STUB_ALIAS(glConvolutionFilter2DEXT, glConvolutionFilter2D)
	GL_STUB_ALIAS(glConvolutionParameterfEXT, glConvolutionParameterf)
	GL_STUB_ALIAS(glConvolutionParameterfvEXT, glConvolutionParameterfv)
	GL_STUB_ALIAS(glConvolutionParameteriEXT, glConvolutionParameteri)
	GL_STUB_ALIAS(glConvolutionParameterivEXT, glConvolutionParameteriv)
	GL_STUB_ALIAS(glCopyConvolutionFilter1DEXT, glCopyConvolutionFilter1D)
	GL_STUB_ALIAS(glCopyConvolutionFilter2DEXT, glCopyConvolutionFilter2D)
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetConvolutionFilterEXT, glGetConvolutionFilter)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetConvolutionParameterfvEXT, glGetConvolutionParameterfv)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetConvolutionParameterivEXT, glGetConvolutionParameteriv)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetSeparableFilterEXT, glGetSeparableFilter)
#endif
	GL_STUB_ALIAS(glSeparableFilter2DEXT, glSeparableFilter2D)
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetHistogramEXT, glGetHistogram)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetHistogramParameterfvEXT, glGetHistogramParameterfv)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetHistogramParameterivEXT, glGetHistogramParameteriv)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetMinmaxEXT, glGetMinmax)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetMinmaxParameterfvEXT, glGetMinmaxParameterfv)
#endif
#ifndef GLX_INDIRECT_RENDERING
	GL_STUB_ALIAS(glGetMinmaxParameterivEXT, glGetMinmaxParameteriv)
#endif
	GL_STUB_ALIAS(glHistogramEXT, glHistogram)
	GL_STUB_ALIAS(glMinmaxEXT, glMinmax)
	GL_STUB_ALIAS(glResetHistogramEXT, glResetHistogram)
	GL_STUB_ALIAS(glResetMinmaxEXT, glResetMinmax)
	GL_STUB_ALIAS(glTexImage3DEXT, glTexImage3D)
	GL_STUB_ALIAS(glTexSubImage3DEXT, glTexSubImage3D)
	GL_STUB_ALIAS(glCopyTexSubImage3DEXT, glCopyTexSubImage3D)
	GL_STUB_ALIAS(glActiveTexture, glActiveTextureARB)
	GL_STUB_ALIAS(glClientActiveTexture, glClientActiveTextureARB)
	GL_STUB_ALIAS(glMultiTexCoord1d, glMultiTexCoord1dARB)
	GL_STUB_ALIAS(glMultiTexCoord1dv, glMultiTexCoord1dvARB)
	GL_STUB_ALIAS(glMultiTexCoord1f, glMultiTexCoord1fARB)
	GL_STUB_ALIAS(glMultiTexCoord1fv, glMultiTexCoord1fvARB)
	GL_STUB_ALIAS(glMultiTexCoord1i, glMultiTexCoord1iARB)
	GL_STUB_ALIAS(glMultiTexCoord1iv, glMultiTexCoord1ivARB)
	GL_STUB_ALIAS(glMultiTexCoord1s, glMultiTexCoord1sARB)
	GL_STUB_ALIAS(glMultiTexCoord1sv, glMultiTexCoord1svARB)
	GL_STUB_ALIAS(glMultiTexCoord2d, glMultiTexCoord2dARB)
	GL_STUB_ALIAS(glMultiTexCoord2dv, glMultiTexCoord2dvARB)
	GL_STUB_ALIAS(glMultiTexCoord2f, glMultiTexCoord2fARB)
	GL_STUB_ALIAS(glMultiTexCoord2fv, glMultiTexCoord2fvARB)
	GL_STUB_ALIAS(glMultiTexCoord2i, glMultiTexCoord2iARB)
	GL_STUB_ALIAS(glMultiTexCoord2iv, glMultiTexCoord2ivARB)
	GL_STUB_ALIAS(glMultiTexCoord2s, glMultiTexCoord2sARB)
	GL_STUB_ALIAS(glMultiTexCoord2sv, glMultiTexCoord2svARB)
	GL_STUB_ALIAS(glMultiTexCoord3d, glMultiTexCoord3dARB)
	GL_STUB_ALIAS(glMultiTexCoord3dv, glMultiTexCoord3dvARB)
	GL_STUB_ALIAS(glMultiTexCoord3f, glMultiTexCoord3fARB)
	GL_STUB_ALIAS(glMultiTexCoord3fv, glMultiTexCoord3fvARB)
	GL_STUB_ALIAS(glMultiTexCoord3i, glMultiTexCoord3iARB)
	GL_STUB_ALIAS(glMultiTexCoord3iv, glMultiTexCoord3ivARB)
	GL_STUB_ALIAS(glMultiTexCoord3s, glMultiTexCoord3sARB)
	GL_STUB_ALIAS(glMultiTexCoord3sv, glMultiTexCoord3svARB)
	GL_STUB_ALIAS(glMultiTexCoord4d, glMultiTexCoord4dARB)
	GL_STUB_ALIAS(glMultiTexCoord4dv, glMultiTexCoord4dvARB)
	GL_STUB_ALIAS(glMultiTexCoord4f, glMultiTexCoord4fARB)
	GL_STUB_ALIAS(glMultiTexCoord4fv, glMultiTexCoord4fvARB)
	GL_STUB_ALIAS(glMultiTexCoord4i, glMultiTexCoord4iARB)
	GL_STUB_ALIAS(glMultiTexCoord4iv, glMultiTexCoord4ivARB)
	GL_STUB_ALIAS(glMultiTexCoord4s, glMultiTexCoord4sARB)
	GL_STUB_ALIAS(glMultiTexCoord4sv, glMultiTexCoord4svARB)
	GL_STUB_ALIAS(glStencilOpSeparateATI, glStencilOpSeparate)
	GL_STUB_ALIAS(glDrawArraysInstancedARB, glDrawArraysInstanced)
	GL_STUB_ALIAS(glDrawArraysInstancedEXT, glDrawArraysInstanced)
	GL_STUB_ALIAS(glDrawElementsInstancedARB, glDrawElementsInstanced)
	GL_STUB_ALIAS(glDrawElementsInstancedEXT, glDrawElementsInstanced)
	GL_STUB_ALIAS(glLoadTransposeMatrixd, glLoadTransposeMatrixdARB)
	GL_STUB_ALIAS(glLoadTransposeMatrixf, glLoadTransposeMatrixfARB)
	GL_STUB_ALIAS(glMultTransposeMatrixd, glMultTransposeMatrixdARB)
	GL_STUB_ALIAS(glMultTransposeMatrixf, glMultTransposeMatrixfARB)
	GL_STUB_ALIAS(glSampleCoverage, glSampleCoverageARB)
	GL_STUB_ALIAS(glCompressedTexImage1D, glCompressedTexImage1DARB)
	GL_STUB_ALIAS(glCompressedTexImage2D, glCompressedTexImage2DARB)
	GL_STUB_ALIAS(glCompressedTexImage3D, glCompressedTexImage3DARB)
	GL_STUB_ALIAS(glCompressedTexSubImage1D, glCompressedTexSubImage1DARB)
	GL_STUB_ALIAS(glCompressedTexSubImage2D, glCompressedTexSubImage2DARB)
	GL_STUB_ALIAS(glCompressedTexSubImage3D, glCompressedTexSubImage3DARB)
	GL_STUB_ALIAS(glGetCompressedTexImage, glGetCompressedTexImageARB)
	GL_STUB_ALIAS(glDisableVertexAttribArray, glDisableVertexAttribArrayARB)
	GL_STUB_ALIAS(glEnableVertexAttribArray, glEnableVertexAttribArrayARB)
	GL_STUB_ALIAS(glGetVertexAttribdv, glGetVertexAttribdvARB)
	GL_STUB_ALIAS(glGetVertexAttribfv, glGetVertexAttribfvARB)
	GL_STUB_ALIAS(glGetVertexAttribiv, glGetVertexAttribivARB)
	GL_STUB_ALIAS(glProgramParameter4dNV, glProgramEnvParameter4dARB)
	GL_STUB_ALIAS(glProgramParameter4dvNV, glProgramEnvParameter4dvARB)
	GL_STUB_ALIAS(glProgramParameter4fNV, glProgramEnvParameter4fARB)
	GL_STUB_ALIAS(glProgramParameter4fvNV, glProgramEnvParameter4fvARB)
	GL_STUB_ALIAS(glVertexAttrib1d, glVertexAttrib1dARB)
	GL_STUB_ALIAS(glVertexAttrib1dv, glVertexAttrib1dvARB)
	GL_STUB_ALIAS(glVertexAttrib1f, glVertexAttrib1fARB)
	GL_STUB_ALIAS(glVertexAttrib1fv, glVertexAttrib1fvARB)
	GL_STUB_ALIAS(glVertexAttrib1s, glVertexAttrib1sARB)
	GL_STUB_ALIAS(glVertexAttrib1sv, glVertexAttrib1svARB)
	GL_STUB_ALIAS(glVertexAttrib2d, glVertexAttrib2dARB)
	GL_STUB_ALIAS(glVertexAttrib2dv, glVertexAttrib2dvARB)
	GL_STUB_ALIAS(glVertexAttrib2f, glVertexAttrib2fARB)
	GL_STUB_ALIAS(glVertexAttrib2fv, glVertexAttrib2fvARB)
	GL_STUB_ALIAS(glVertexAttrib2s, glVertexAttrib2sARB)
	GL_STUB_ALIAS(glVertexAttrib2sv, glVertexAttrib2svARB)
	GL_STUB_ALIAS(glVertexAttrib3d, glVertexAttrib3dARB)
	GL_STUB_ALIAS(glVertexAttrib3dv, glVertexAttrib3dvARB)
	GL_STUB_ALIAS(glVertexAttrib3f, glVertexAttrib3fARB)
	GL_STUB_ALIAS(glVertexAttrib3fv, glVertexAttrib3fvARB)
	GL_STUB_ALIAS(glVertexAttrib3s, glVertexAttrib3sARB)
	GL_STUB_ALIAS(glVertexAttrib3sv, glVertexAttrib3svARB)
	GL_STUB_ALIAS(glVertexAttrib4Nbv, glVertexAttrib4NbvARB)
	GL_STUB_ALIAS(glVertexAttrib4Niv, glVertexAttrib4NivARB)
	GL_STUB_ALIAS(glVertexAttrib4Nsv, glVertexAttrib4NsvARB)
	GL_STUB_ALIAS(glVertexAttrib4Nub, glVertexAttrib4NubARB)
	GL_STUB_ALIAS(glVertexAttrib4Nubv, glVertexAttrib4NubvARB)
	GL_STUB_ALIAS(glVertexAttrib4Nuiv, glVertexAttrib4NuivARB)
	GL_STUB_ALIAS(glVertexAttrib4Nusv, glVertexAttrib4NusvARB)
	GL_STUB_ALIAS(glVertexAttrib4bv, glVertexAttrib4bvARB)
	GL_STUB_ALIAS(glVertexAttrib4d, glVertexAttrib4dARB)
	GL_STUB_ALIAS(glVertexAttrib4dv, glVertexAttrib4dvARB)
	GL_STUB_ALIAS(glVertexAttrib4f, glVertexAttrib4fARB)
	GL_STUB_ALIAS(glVertexAttrib4fv, glVertexAttrib4fvARB)
	GL_STUB_ALIAS(glVertexAttrib4iv, glVertexAttrib4ivARB)
	GL_STUB_ALIAS(glVertexAttrib4s, glVertexAttrib4sARB)
	GL_STUB_ALIAS(glVertexAttrib4sv, glVertexAttrib4svARB)
	GL_STUB_ALIAS(glVertexAttrib4ubv, glVertexAttrib4ubvARB)
	GL_STUB_ALIAS(glVertexAttrib4uiv, glVertexAttrib4uivARB)
	GL_STUB_ALIAS(glVertexAttrib4usv, glVertexAttrib4usvARB)
	GL_STUB_ALIAS(glVertexAttribPointer, glVertexAttribPointerARB)
	GL_STUB_ALIAS(glBindBuffer, glBindBufferARB)
	GL_STUB_ALIAS(glBufferData, glBufferDataARB)
	GL_STUB_ALIAS(glBufferSubData, glBufferSubDataARB)
	GL_STUB_ALIAS(glDeleteBuffers, glDeleteBuffersARB)
	GL_STUB_ALIAS(glGenBuffers, glGenBuffersARB)
	GL_STUB_ALIAS(glGetBufferParameteriv, glGetBufferParameterivARB)
	GL_STUB_ALIAS(glGetBufferPointerv, glGetBufferPointervARB)
	GL_STUB_ALIAS(glGetBufferSubData, glGetBufferSubDataARB)
	GL_STUB_ALIAS(glIsBuffer, glIsBufferARB)
	GL_STUB_ALIAS(glMapBuffer, glMapBufferARB)
	GL_STUB_ALIAS(glUnmapBuffer, glUnmapBufferARB)
	GL_STUB_ALIAS(glBeginQuery, glBeginQueryARB)
	GL_STUB_ALIAS(glDeleteQueries, glDeleteQueriesARB)
	GL_STUB_ALIAS(glEndQuery, glEndQueryARB)
	GL_STUB_ALIAS(glGenQueries, glGenQueriesARB)
	GL_STUB_ALIAS(glGetQueryObjectiv, glGetQueryObjectivARB)
	GL_STUB_ALIAS(glGetQueryObjectuiv, glGetQueryObjectuivARB)
	GL_STUB_ALIAS(glGetQueryiv, glGetQueryivARB)
	GL_STUB_ALIAS(glIsQuery, glIsQueryARB)
	GL_STUB_ALIAS(glCompileShader, glCompileShaderARB)
	GL_STUB_ALIAS(glGetActiveUniform, glGetActiveUniformARB)
	GL_STUB_ALIAS(glGetShaderSource, glGetShaderSourceARB)
	GL_STUB_ALIAS(glGetUniformLocation, glGetUniformLocationARB)
	GL_STUB_ALIAS(glGetUniformfv, glGetUniformfvARB)
	GL_STUB_ALIAS(glGetUniformiv, glGetUniformivARB)
	GL_STUB_ALIAS(glLinkProgram, glLinkProgramARB)
	GL_STUB_ALIAS(glShaderSource, glShaderSourceARB)
	GL_STUB_ALIAS(glUniform1f, glUniform1fARB)
	GL_STUB_ALIAS(glUniform1fv, glUniform1fvARB)
	GL_STUB_ALIAS(glUniform1i, glUniform1iARB)
	GL_STUB_ALIAS(glUniform1iv, glUniform1ivARB)
	GL_STUB_ALIAS(glUniform2f, glUniform2fARB)
	GL_STUB_ALIAS(glUniform2fv, glUniform2fvARB)
	GL_STUB_ALIAS(glUniform2i, glUniform2iARB)
	GL_STUB_ALIAS(glUniform2iv, glUniform2ivARB)
	GL_STUB_ALIAS(glUniform3f, glUniform3fARB)
	GL_STUB_ALIAS(glUniform3fv, glUniform3fvARB)
	GL_STUB_ALIAS(glUniform3i, glUniform3iARB)
	GL_STUB_ALIAS(glUniform3iv, glUniform3ivARB)
	GL_STUB_ALIAS(glUniform4f, glUniform4fARB)
	GL_STUB_ALIAS(glUniform4fv, glUniform4fvARB)
	GL_STUB_ALIAS(glUniform4i, glUniform4iARB)
	GL_STUB_ALIAS(glUniform4iv, glUniform4ivARB)
	GL_STUB_ALIAS(glUniformMatrix2fv, glUniformMatrix2fvARB)
	GL_STUB_ALIAS(glUniformMatrix3fv, glUniformMatrix3fvARB)
	GL_STUB_ALIAS(glUniformMatrix4fv, glUniformMatrix4fvARB)
	GL_STUB_ALIAS(glUseProgram, glUseProgramObjectARB)
	GL_STUB_ALIAS(glValidateProgram, glValidateProgramARB)
	GL_STUB_ALIAS(glBindAttribLocation, glBindAttribLocationARB)
	GL_STUB_ALIAS(glGetActiveAttrib, glGetActiveAttribARB)
	GL_STUB_ALIAS(glGetAttribLocation, glGetAttribLocationARB)
	GL_STUB_ALIAS(glDrawBuffers, glDrawBuffersARB)
	GL_STUB_ALIAS(glDrawBuffersATI, glDrawBuffersARB)
	GL_STUB_ALIAS(glRenderbufferStorageMultisampleEXT, glRenderbufferStorageMultisample)
	GL_STUB_ALIAS(glPointParameterf, glPointParameterfEXT)
	GL_STUB_ALIAS(glPointParameterfARB, glPointParameterfEXT)
	GL_STUB_ALIAS(glPointParameterfSGIS, glPointParameterfEXT)
	GL_STUB_ALIAS(glPointParameterfv, glPointParameterfvEXT)
	GL_STUB_ALIAS(glPointParameterfvARB, glPointParameterfvEXT)
	GL_STUB_ALIAS(glPointParameterfvSGIS, glPointParameterfvEXT)
	GL_STUB_ALIAS(glSecondaryColor3b, glSecondaryColor3bEXT)
	GL_STUB_ALIAS(glSecondaryColor3bv, glSecondaryColor3bvEXT)
	GL_STUB_ALIAS(glSecondaryColor3d, glSecondaryColor3dEXT)
	GL_STUB_ALIAS(glSecondaryColor3dv, glSecondaryColor3dvEXT)
	GL_STUB_ALIAS(glSecondaryColor3f, glSecondaryColor3fEXT)
	GL_STUB_ALIAS(glSecondaryColor3fv, glSecondaryColor3fvEXT)
	GL_STUB_ALIAS(glSecondaryColor3i, glSecondaryColor3iEXT)
	GL_STUB_ALIAS(glSecondaryColor3iv, glSecondaryColor3ivEXT)
	GL_STUB_ALIAS(glSecondaryColor3s, glSecondaryColor3sEXT)
	GL_STUB_ALIAS(glSecondaryColor3sv, glSecondaryColor3svEXT)
	GL_STUB_ALIAS(glSecondaryColor3ub, glSecondaryColor3ubEXT)
	GL_STUB_ALIAS(glSecondaryColor3ubv, glSecondaryColor3ubvEXT)
	GL_STUB_ALIAS(glSecondaryColor3ui, glSecondaryColor3uiEXT)
	GL_STUB_ALIAS(glSecondaryColor3uiv, glSecondaryColor3uivEXT)
	GL_STUB_ALIAS(glSecondaryColor3us, glSecondaryColor3usEXT)
	GL_STUB_ALIAS(glSecondaryColor3usv, glSecondaryColor3usvEXT)
	GL_STUB_ALIAS(glSecondaryColorPointer, glSecondaryColorPointerEXT)
	GL_STUB_ALIAS(glMultiDrawArrays, glMultiDrawArraysEXT)
	GL_STUB_ALIAS(glMultiDrawElements, glMultiDrawElementsEXT)
	GL_STUB_ALIAS(glFogCoordPointer, glFogCoordPointerEXT)
	GL_STUB_ALIAS(glFogCoordd, glFogCoorddEXT)
	GL_STUB_ALIAS(glFogCoorddv, glFogCoorddvEXT)
	GL_STUB_ALIAS(glFogCoordf, glFogCoordfEXT)
	GL_STUB_ALIAS(glFogCoordfv, glFogCoordfvEXT)
	GL_STUB_ALIAS(glBlendFuncSeparate, glBlendFuncSeparateEXT)
	GL_STUB_ALIAS(glBlendFuncSeparateINGR, glBlendFuncSeparateEXT)
	GL_STUB_ALIAS(glWindowPos2d, glWindowPos2dMESA)
	GL_STUB_ALIAS(glWindowPos2dARB, glWindowPos2dMESA)
	GL_STUB_ALIAS(glWindowPos2dv, glWindowPos2dvMESA)
	GL_STUB_ALIAS(glWindowPos2dvARB, glWindowPos2dvMESA)
	GL_STUB_ALIAS(glWindowPos2f, glWindowPos2fMESA)
	GL_STUB_ALIAS(glWindowPos2fARB, glWindowPos2fMESA)
	GL_STUB_ALIAS(glWindowPos2fv, glWindowPos2fvMESA)
	GL_STUB_ALIAS(glWindowPos2fvARB, glWindowPos2fvMESA)
	GL_STUB_ALIAS(glWindowPos2i, glWindowPos2iMESA)
	GL_STUB_ALIAS(glWindowPos2iARB, glWindowPos2iMESA)
	GL_STUB_ALIAS(glWindowPos2iv, glWindowPos2ivMESA)
	GL_STUB_ALIAS(glWindowPos2ivARB, glWindowPos2ivMESA)
	GL_STUB_ALIAS(glWindowPos2s, glWindowPos2sMESA)
	GL_STUB_ALIAS(glWindowPos2sARB, glWindowPos2sMESA)
	GL_STUB_ALIAS(glWindowPos2sv, glWindowPos2svMESA)
	GL_STUB_ALIAS(glWindowPos2svARB, glWindowPos2svMESA)
	GL_STUB_ALIAS(glWindowPos3d, glWindowPos3dMESA)
	GL_STUB_ALIAS(glWindowPos3dARB, glWindowPos3dMESA)
	GL_STUB_ALIAS(glWindowPos3dv, glWindowPos3dvMESA)
	GL_STUB_ALIAS(glWindowPos3dvARB, glWindowPos3dvMESA)
	GL_STUB_ALIAS(glWindowPos3f, glWindowPos3fMESA)
	GL_STUB_ALIAS(glWindowPos3fARB, glWindowPos3fMESA)
	GL_STUB_ALIAS(glWindowPos3fv, glWindowPos3fvMESA)
	GL_STUB_ALIAS(glWindowPos3fvARB, glWindowPos3fvMESA)
	GL_STUB_ALIAS(glWindowPos3i, glWindowPos3iMESA)
	GL_STUB_ALIAS(glWindowPos3iARB, glWindowPos3iMESA)
	GL_STUB_ALIAS(glWindowPos3iv, glWindowPos3ivMESA)
	GL_STUB_ALIAS(glWindowPos3ivARB, glWindowPos3ivMESA)
	GL_STUB_ALIAS(glWindowPos3s, glWindowPos3sMESA)
	GL_STUB_ALIAS(glWindowPos3sARB, glWindowPos3sMESA)
	GL_STUB_ALIAS(glWindowPos3sv, glWindowPos3svMESA)
	GL_STUB_ALIAS(glWindowPos3svARB, glWindowPos3svMESA)
	GL_STUB_ALIAS(glBindProgramARB, glBindProgramNV)
	GL_STUB_ALIAS(glDeleteProgramsARB, glDeleteProgramsNV)
	GL_STUB_ALIAS(glGenProgramsARB, glGenProgramsNV)
	GL_STUB_ALIAS(glGetVertexAttribPointerv, glGetVertexAttribPointervNV)
	GL_STUB_ALIAS(glGetVertexAttribPointervARB, glGetVertexAttribPointervNV)
	GL_STUB_ALIAS(glIsProgramARB, glIsProgramNV)
	GL_STUB_ALIAS(glPointParameteri, glPointParameteriNV)
	GL_STUB_ALIAS(glPointParameteriv, glPointParameterivNV)
	GL_STUB_ALIAS(glBindFramebuffer, glBindFramebufferEXT)
	GL_STUB_ALIAS(glBindRenderbuffer, glBindRenderbufferEXT)
	GL_STUB_ALIAS(glCheckFramebufferStatus, glCheckFramebufferStatusEXT)
	GL_STUB_ALIAS(glDeleteFramebuffers, glDeleteFramebuffersEXT)
	GL_STUB_ALIAS(glDeleteRenderbuffers, glDeleteRenderbuffersEXT)
	GL_STUB_ALIAS(glFramebufferRenderbuffer, glFramebufferRenderbufferEXT)
	GL_STUB_ALIAS(glFramebufferTexture1D, glFramebufferTexture1DEXT)
	GL_STUB_ALIAS(glFramebufferTexture2D, glFramebufferTexture2DEXT)
	GL_STUB_ALIAS(glFramebufferTexture3D, glFramebufferTexture3DEXT)
	GL_STUB_ALIAS(glGenFramebuffers, glGenFramebuffersEXT)
	GL_STUB_ALIAS(glGenRenderbuffers, glGenRenderbuffersEXT)
	GL_STUB_ALIAS(glGenerateMipmap, glGenerateMipmapEXT)
	GL_STUB_ALIAS(glGetFramebufferAttachmentParameteriv, glGetFramebufferAttachmentParameterivEXT)
	GL_STUB_ALIAS(glGetRenderbufferParameteriv, glGetRenderbufferParameterivEXT)
	GL_STUB_ALIAS(glIsFramebuffer, glIsFramebufferEXT)
	GL_STUB_ALIAS(glIsRenderbuffer, glIsRenderbufferEXT)
	GL_STUB_ALIAS(glRenderbufferStorage, glRenderbufferStorageEXT)
	GL_STUB_ALIAS(glFramebufferTextureLayer, glFramebufferTextureLayerEXT)
	GL_STUB_ALIAS(glBeginTransformFeedback, glBeginTransformFeedbackEXT)
	GL_STUB_ALIAS(glBindBufferBase, glBindBufferBaseEXT)
	GL_STUB_ALIAS(glBindBufferRange, glBindBufferRangeEXT)
	GL_STUB_ALIAS(glEndTransformFeedback, glEndTransformFeedbackEXT)
	GL_STUB_ALIAS(glGetTransformFeedbackVarying, glGetTransformFeedbackVaryingEXT)
	GL_STUB_ALIAS(glTransformFeedbackVaryings, glTransformFeedbackVaryingsEXT)
	GL_STUB_ALIAS(glProvokingVertex, glProvokingVertexEXT)

	.globl	gl_dispatch_functions_end
	HIDDEN(gl_dispatch_functions_end)
gl_dispatch_functions_end:
