// GML - OpenGL Multithreading Library
// for Spring http://springrts.com
// Author: Mattias "zerver" Radeskog
// (C) Ware Zerver Tech. http://zerver.net
// Ware Zerver Tech. licenses this library
// to be used, distributed and modified 
// freely for any purpose, as long as 
// this notice remains unchanged

#undef glActiveStencilFaceEXT
#undef glActiveTexture
#undef glActiveTextureARB
#undef glAlphaFunc
#undef glAttachObjectARB
#undef glAttachShader
#undef glBegin
#undef glBeginQuery
#undef glBindAttribLocation
#undef glBindBuffer
#undef glBindBufferARB
#undef glBindFramebufferEXT
#undef glBindProgramARB
#undef glBindRenderbufferEXT
#undef glBindTexture
#undef glBlendColor
#undef glBlendEquation
#undef glBlendEquationSeparate
#undef glBlendFunc
#undef glBlendFuncSeparate
#undef glBlitFramebufferEXT
#undef glBufferData
#undef glBufferDataARB
#undef glCallList
#undef glCheckFramebufferStatusEXT
#undef glClear
#undef glClearAccum
#undef glClearColor
#undef glClearDepth
#undef glClearStencil
#undef glClientActiveTexture
#undef glClientActiveTextureARB
#undef glClipPlane
#undef glColor3f
#undef glColor3fv
#undef glColor3ub
#undef glColor3ubv
#undef glColor4d
#undef glColor4f
#undef glColor4fv
#undef glColor4ub
#undef glColor4ubv
#undef glColorMask
#undef glColorPointer
#undef glCompileShader
#undef glCompileShaderARB
#undef glCompressedTexImage1DARB
#undef glCompressedTexImage2D
#undef glCompressedTexImage2DARB
#undef glCompressedTexImage3DARB
#undef glCopyTexImage2D
#undef glCopyTexSubImage2D
#undef glCreateProgram
#undef glCreateProgramObjectARB
#undef glCreateShader
#undef glCreateShaderObjectARB
#undef glCullFace
#undef glDeleteBuffers
#undef glDeleteBuffersARB
#undef glDeleteFencesNV
#undef glDeleteFramebuffersEXT
#undef glDeleteLists
#undef glDeleteObjectARB
#undef glDeleteProgram
#undef glDeleteProgramsARB
#undef glDeleteQueries
#undef glDeleteRenderbuffersEXT
#undef glDeleteShader
#undef glDeleteTextures
#undef glDepthFunc
#undef glDepthMask
#undef glDetachObjectARB
#undef glDetachShader
#undef glDisable
#undef glDisableClientState
#undef glDisableVertexAttribArrayARB
#undef glDrawArrays
#undef glDrawBuffer
#undef glDrawBuffersARB
#undef glDrawElements
#undef glDrawRangeElements
#undef glEdgeFlag
#undef glEdgeFlagPointer
#undef glEnable
#undef glEnableClientState
#undef glEnableVertexAttribArrayARB
#undef glEnd
#undef glEndList
#undef glEndQuery
#undef glEvalCoord1f
#undef glEvalCoord2f
#undef glEvalMesh1
#undef glEvalMesh2
#undef glEvalPoint1
#undef glEvalPoint2
#undef glFinish
#undef glFinishFenceNV
#undef glFlush
#undef glFogCoordf
#undef glFogf
#undef glFogfv
#undef glFogi
#undef glFramebufferRenderbufferEXT
#undef glFramebufferTexture1DEXT
#undef glFramebufferTexture2DEXT
#undef glFramebufferTexture3DEXT
#undef glFramebufferTextureEXT
#undef glFrontFace
#undef glFrustum
#undef glGenBuffers
#undef glGenBuffersARB
#undef glGenFencesNV
#undef glGenFramebuffersEXT
#undef glGenLists
#undef glGenProgramsARB
#undef glGenQueries
#undef glGenRenderbuffersEXT
#undef glGenTextures
#undef glGenerateMipmap
#undef glGenerateMipmapEXT
#undef glGetActiveAttrib
#undef glGetActiveUniform
#undef glGetAttribLocation
#undef glGetAttribLocationARB
#undef glGetBooleanv
#undef glGetCompressedTexImage
#undef glGetDoublev
#undef glGetError
#undef glGetFloatv
#undef glGetFramebufferAttachmentParameterivEXT
#undef glGetInfoLogARB
#undef glGetIntegerv
#undef glGetObjectParameterivARB
#undef glGetProgramInfoLog
#undef glGetProgramiv
#undef glGetProgramivARB
#undef glGetQueryObjectiv
#undef glGetQueryObjectuiv
#undef glGetQueryiv
#undef glGetRenderbufferParameterivEXT
#undef glGetShaderInfoLog
#undef glGetShaderiv
#undef glGetString
#undef glGetTexImage
#undef glGetTexLevelParameteriv
#undef glGetUniformfv
#undef glGetUniformiv
#undef glGetUniformuiv
#undef glGetUniformLocation
#undef glGetUniformLocationARB
#undef glHint
#undef glIndexPointer
#undef glInitNames
#undef glIsProgram 
#undef glIsRenderbufferEXT
#undef glIsShader
#undef glIsTexture
#undef glLightModelfv
#undef glLightModeli
#undef glLightf
#undef glLightfv
#undef glLineStipple
#undef glLineWidth
#undef glLinkProgram
#undef glLinkProgramARB
#undef glLoadIdentity
#undef glLoadMatrixd
#undef glLoadMatrixf
#undef glLoadName
#undef glLogicOp
#undef glMap1f
#undef glMap2f
#undef glMapBuffer
#undef glMapBufferARB
#undef glMapBufferRange
#undef glMapGrid1f
#undef glMapGrid2f
#undef glMaterialf
#undef glMaterialfv
#undef glMatrixMode
#undef glMultMatrixd
#undef glMultMatrixf
#undef glMultiTexCoord1f
#undef glMultiTexCoord2f
#undef glMultiTexCoord2fARB
#undef glMultiTexCoord2i
#undef glMultiTexCoord3f
#undef glMultiTexCoord4f
#undef glNewList
#undef glNormal3f
#undef glNormal3fv
#undef glNormalPointer
#undef glOrtho
#undef glPixelStorei
#undef glPointParameterf
#undef glPointParameterfv
#undef glPointSize
#undef glPolygonMode
#undef glPolygonOffset
#undef glPopAttrib
#undef glPopMatrix
#undef glPopName
#undef glPrimitiveRestartIndexNV
#undef glProgramEnvParameter4fARB
#undef glProgramEnvParameter4fvARB
#undef glProgramParameteriEXT
#undef glProgramStringARB
#undef glPushAttrib
#undef glPushMatrix
#undef glPushName
#undef glRasterPos2i
#undef glReadBuffer
#undef glReadPixels
#undef glRectf
#undef glRenderMode
#undef glRenderbufferStorageEXT
#undef glRotatef
#undef glScalef
#undef glScissor
#undef glSecondaryColor3f
#undef glSelectBuffer
#undef glSetFenceNV
#undef glShadeModel
#undef glShaderSource
#undef glShaderSourceARB
#undef glStencilFunc
#undef glStencilFuncSeparate
#undef glStencilMask
#undef glStencilMaskSeparate
#undef glStencilOp
#undef glStencilOpSeparate
#undef glTestFenceNV
#undef glTexCoord1f
#undef glTexCoord2f
#undef glTexCoord2fv
#undef glTexCoord3f
#undef glTexCoord4f
#undef glTexCoordPointer
#undef glTexEnvf
#undef glTexEnvfv
#undef glTexEnvi
#undef glTexGenf
#undef glTexGenfv
#undef glTexGeni
#undef glTexImage1D
#undef glTexImage2D
#undef glTexImage3D
#undef glTexParameterf
#undef glTexParameterfv
#undef glTexParameteri
#undef glTexSubImage2D
#undef glTrackMatrixNV
#undef glTranslated
#undef glTranslatef
#undef glUniform1f
#undef glUniform1fv
#undef glUniform1i
#undef glUniform1iv
#undef glUniform1iARB
#undef glUniform1uiv
#undef glUniform2f
#undef glUniform2fARB
#undef glUniform2fv
#undef glUniform2i
#undef glUniform2iv
#undef glUniform2uiv
#undef glUniform3f
#undef glUniform3fARB
#undef glUniform3fv
#undef glUniform3i
#undef glUniform3iv
#undef glUniform3uiv
#undef glUniform4f
#undef glUniform4fARB
#undef glUniform4fv
#undef glUniform4i
#undef glUniform4iv
#undef glUniform4uiv
#undef glUniformMatrix2fv
#undef glUniformMatrix3fv
#undef glUniformMatrix4fv
#undef glUniformMatrix4fvARB
#undef glUnmapBuffer
#undef glUseProgram
#undef glUseProgramObjectARB
#undef glValidateProgram
#undef glVertex2d
#undef glVertex2f
#undef glVertex3f
#undef glVertex3fv
#undef glVertex3i
#undef glVertex4f
#undef glVertexAttribPointerARB
#undef glVertexPointer
#undef glViewport
#undef gluBuild2DMipmaps
#undef gluCylinder
#undef gluDeleteQuadric
#undef gluLookAt
#undef gluNewQuadric
#undef gluOrtho2D
#undef gluPerspective
#undef gluProject
#undef gluQuadricDrawStyle
#undef gluScaleImage
#undef gluSphere


// #####################################################################

#define GML_NULL_CHECK(name) (GLEW_GET_FUN(__glew##name) ? &gml##name : GLEW_GET_FUN(__glew##name))

#define glActiveStencilFaceEXT gmlActiveStencilFaceEXT
#define glActiveTexture gmlActiveTexture
#define glActiveTextureARB gmlActiveTextureARB
#define glAlphaFunc gmlAlphaFunc
#define glAttachObjectARB gmlAttachObjectARB
#define glAttachShader gmlAttachShader
#define glBegin gmlBegin
#define glBeginQuery gmlBeginQuery
#define glBindAttribLocation gmlBindAttribLocation
#define glBindBuffer gmlBindBuffer
#define glBindBufferARB gmlBindBufferARB
#define glBindFramebufferEXT gmlBindFramebufferEXT
#define glBindProgramARB GML_NULL_CHECK(BindProgramARB)
#define glBindRenderbufferEXT gmlBindRenderbufferEXT
#define glBindTexture gmlBindTexture
#define glBlendColor gmlBlendColor
#define glBlendEquation GML_NULL_CHECK(BlendEquation)
#define glBlendEquationSeparate gmlBlendEquationSeparate
#define glBlendFunc gmlBlendFunc
#define glBlendFuncSeparate gmlBlendFuncSeparate
#define glBlitFramebufferEXT gmlBlitFramebufferEXT
#define glBufferData gmlBufferData
#define glBufferDataARB gmlBufferDataARB
#define glCallList gmlCallList
#define glCheckFramebufferStatusEXT gmlCheckFramebufferStatusEXT
#define glClear gmlClear
#define glClearAccum gmlClearAccum
#define glClearColor gmlClearColor
#define glClearDepth gmlClearDepth
#define glClearStencil gmlClearStencil
#define glClientActiveTexture gmlClientActiveTexture
#define glClientActiveTextureARB gmlClientActiveTextureARB
#define glClipPlane gmlClipPlane
#define glColor3f gmlColor3f
#define glColor3fv gmlColor3fv
#define glColor3ub gmlColor3ub
#define glColor3ubv gmlColor3ubv
#define glColor4d gmlColor4d
#define glColor4f gmlColor4f
#define glColor4fv gmlColor4fv
#define glColor4ub gmlColor4ub
#define glColor4ubv gmlColor4ubv
#define glColorMask gmlColorMask
#define glColorPointer gmlColorPointer
#define glCompileShader gmlCompileShader
#define glCompileShaderARB gmlCompileShaderARB
#define glCompressedTexImage1DARB gmlCompressedTexImage1DARB
#define glCompressedTexImage2D gmlCompressedTexImage2D
#define glCompressedTexImage2DARB gmlCompressedTexImage2DARB
#define glCompressedTexImage3DARB gmlCompressedTexImage3DARB
#define glCopyTexImage2D gmlCopyTexImage2D
#define glCopyTexSubImage2D gmlCopyTexSubImage2D
#define glCreateProgram GML_NULL_CHECK(CreateProgram)
#define glCreateProgramObjectARB gmlCreateProgramObjectARB
#define glCreateShader GML_NULL_CHECK(CreateShader)
#define glCreateShaderObjectARB gmlCreateShaderObjectARB
#define glCullFace gmlCullFace
#define glDeleteBuffers gmlDeleteBuffers
#define glDeleteBuffersARB gmlDeleteBuffersARB
#define glDeleteFencesNV gmlDeleteFencesNV
#define glDeleteFramebuffersEXT gmlDeleteFramebuffersEXT
#define glDeleteLists gmlDeleteLists
#define glDeleteObjectARB gmlDeleteObjectARB
#define glDeleteProgram GML_NULL_CHECK(DeleteProgram)
#define glDeleteProgramsARB GML_NULL_CHECK(DeleteProgramsARB)
#define glDeleteQueries gmlDeleteQueries
#define glDeleteRenderbuffersEXT gmlDeleteRenderbuffersEXT
#define glDeleteShader GML_NULL_CHECK(DeleteShader)
#define glDeleteTextures gmlDeleteTextures
#define glDepthFunc gmlDepthFunc
#define glDepthMask gmlDepthMask
#define glDetachObjectARB gmlDetachObjectARB
#define glDetachShader gmlDetachShader
#define glDisable gmlDisable
#define glDisableClientState gmlDisableClientState
#define glDisableVertexAttribArrayARB gmlDisableVertexAttribArrayARB
#define glDrawArrays gmlDrawArrays
#define glDrawBuffer gmlDrawBuffer
#define glDrawBuffersARB gmlDrawBuffersARB
#define glDrawElements gmlDrawElements
#define glDrawRangeElements gmlDrawRangeElements
#define glEdgeFlag gmlEdgeFlag
#define glEdgeFlagPointer gmlEdgeFlagPointer
#define glEnable gmlEnable
#define glEnableClientState gmlEnableClientState
#define glEnableVertexAttribArrayARB gmlEnableVertexAttribArrayARB
#define glEnd gmlEnd
#define glEndList gmlEndList
#define glEndQuery gmlEndQuery
#define glEvalCoord1f gmlEvalCoord1f
#define glEvalCoord2f gmlEvalCoord2f
#define glEvalMesh1 gmlEvalMesh1
#define glEvalMesh2 gmlEvalMesh2
#define glEvalPoint1 gmlEvalPoint1
#define glEvalPoint2 gmlEvalPoint2
#define glFinish gmlFinish
#define glFinishFenceNV gmlFinishFenceNV
#define glFlush gmlFlush
#define glFogCoordf gmlFogCoordf
#define glFogf gmlFogf
#define glFogfv gmlFogfv
#define glFogi gmlFogi
#define glFramebufferRenderbufferEXT gmlFramebufferRenderbufferEXT
#define glFramebufferTexture1DEXT gmlFramebufferTexture1DEXT
#define glFramebufferTexture2DEXT gmlFramebufferTexture2DEXT
#define glFramebufferTexture3DEXT gmlFramebufferTexture3DEXT
#define glFramebufferTextureEXT gmlFramebufferTextureEXT
#define glFrontFace gmlFrontFace
#define glFrustum gmlFrustum
#define glGenBuffers gmlGenBuffers
#define glGenBuffersARB gmlGenBuffersARB
#define glGenFencesNV gmlGenFencesNV
#define glGenFramebuffersEXT gmlGenFramebuffersEXT
#define glGenLists gmlGenLists
#define glGenProgramsARB GML_NULL_CHECK(GenProgramsARB)
#define glGenQueries gmlGenQueries
#define glGenRenderbuffersEXT gmlGenRenderbuffersEXT
#define glGenTextures gmlGenTextures
#define glGenerateMipmap GML_NULL_CHECK(GenerateMipmap)
#define glGenerateMipmapEXT GML_NULL_CHECK(GenerateMipmapEXT)
#define glGetActiveAttrib gmlGetActiveAttrib
#define glGetActiveUniform gmlGetActiveUniform
#define glGetAttribLocation gmlGetAttribLocation
#define glGetAttribLocationARB gmlGetAttribLocationARB
#define glGetBooleanv gmlGetBooleanv
#define glGetDoublev gmlGetDoublev
#define glGetCompressedTexImage gmlGetCompressedTexImage
#define glGetError gmlGetError
#define glGetFloatv gmlGetFloatv
#define glGetFramebufferAttachmentParameterivEXT gmlGetFramebufferAttachmentParameterivEXT
#define glGetInfoLogARB gmlGetInfoLogARB
#define glGetIntegerv gmlGetIntegerv
#define glGetObjectParameterivARB gmlGetObjectParameterivARB
#define glGetProgramInfoLog gmlGetProgramInfoLog
#define glGetProgramiv gmlGetProgramiv
#define glGetProgramivARB gmlGetProgramivARB
#define glGetQueryObjectiv gmlGetQueryObjectiv
#define glGetQueryObjectuiv gmlGetQueryObjectuiv
#define glGetQueryiv gmlGetQueryiv
#define glGetRenderbufferParameterivEXT gmlGetRenderbufferParameterivEXT
#define glGetShaderInfoLog gmlGetShaderInfoLog
#define glGetShaderiv gmlGetShaderiv
#define glGetString gmlGetString
#define glGetTexImage gmlGetTexImage
#define glGetTexLevelParameteriv gmlGetTexLevelParameteriv
#define glGetUniformfv gmlGetUniformfv
#define glGetUniformiv gmlGetUniformiv
#define glGetUniformuiv gmlGetUniformuiv
#define glGetUniformLocation gmlGetUniformLocation
#define glGetUniformLocationARB gmlGetUniformLocationARB
#define glHint gmlHint
#define glIndexPointer gmlIndexPointer
#define glInitNames gmlInitNames
#define glIsProgram gmlIsProgram
#define glIsRenderbufferEXT gmlIsRenderbufferEXT
#define glIsShader gmlIsShader
#define glIsTexture gmlIsTexture
#define glLightModelfv gmlLightModelfv
#define glLightModeli gmlLightModeli
#define glLightf gmlLightf
#define glLightfv gmlLightfv
#define glLineStipple gmlLineStipple
#define glLineWidth gmlLineWidth
#define glLinkProgram GML_NULL_CHECK(LinkProgram)
#define glLinkProgramARB gmlLinkProgramARB
#define glLoadIdentity gmlLoadIdentity
#define glLoadMatrixd gmlLoadMatrixd
#define glLoadMatrixf gmlLoadMatrixf
#define glLoadName gmlLoadName
#define glLogicOp gmlLogicOp
#define glMap1f gmlMap1f
#define glMap2f gmlMap2f
#define glMapBuffer gmlMapBuffer
#define glMapBufferARB gmlMapBufferARB
#define glMapBufferRange gmlMapBufferRange
#define glMapGrid1f gmlMapGrid1f
#define glMapGrid2f gmlMapGrid2f
#define glMaterialf gmlMaterialf
#define glMaterialfv gmlMaterialfv
#define glMatrixMode gmlMatrixMode
#define glMultMatrixd gmlMultMatrixd
#define glMultMatrixf gmlMultMatrixf
#define glMultiTexCoord1f gmlMultiTexCoord1f
#define glMultiTexCoord2f gmlMultiTexCoord2f
#define glMultiTexCoord2fARB gmlMultiTexCoord2fARB
#define glMultiTexCoord2i gmlMultiTexCoord2i
#define glMultiTexCoord3f gmlMultiTexCoord3f
#define glMultiTexCoord4f gmlMultiTexCoord4f
#define glNewList gmlNewList
#define glNormal3f gmlNormal3f
#define glNormal3fv gmlNormal3fv
#define glNormalPointer gmlNormalPointer
#define glOrtho gmlOrtho
#define glPixelStorei gmlPixelStorei
#define glPointParameterf gmlPointParameterf
#define glPointParameterfv gmlPointParameterfv
#define glPointSize gmlPointSize
#define glPolygonMode gmlPolygonMode
#define glPolygonOffset gmlPolygonOffset
#define glPopAttrib gmlPopAttrib
#define glPopMatrix gmlPopMatrix
#define glPopName gmlPopName
#define glPrimitiveRestartIndexNV gmlPrimitiveRestartIndexNV
#define glProgramEnvParameter4fARB gmlProgramEnvParameter4fARB
#define glProgramEnvParameter4fvARB gmlProgramEnvParameter4fvARB
#define glProgramParameteriEXT GML_NULL_CHECK(ProgramParameteriEXT)
#define glProgramStringARB gmlProgramStringARB
#define glPushAttrib gmlPushAttrib
#define glPushMatrix gmlPushMatrix
#define glPushName gmlPushName
#define glRasterPos2i gmlRasterPos2i
#define glReadBuffer gmlReadBuffer
#define glReadPixels gmlReadPixels
#define glRectf gmlRectf
#define glRenderMode gmlRenderMode
#define glRenderbufferStorageEXT gmlRenderbufferStorageEXT
#define glRotatef gmlRotatef
#define glScalef gmlScalef
#define glScissor gmlScissor
#define glSecondaryColor3f gmlSecondaryColor3f
#define glSelectBuffer gmlSelectBuffer
#define glSetFenceNV gmlSetFenceNV
#define glShadeModel gmlShadeModel
#define glShaderSource GML_NULL_CHECK(ShaderSource)
#define glShaderSourceARB gmlShaderSourceARB
#define glStencilFunc gmlStencilFunc
#define glStencilFuncSeparate gmlStencilFuncSeparate
#define glStencilMask gmlStencilMask
#define glStencilMaskSeparate gmlStencilMaskSeparate
#define glStencilOp gmlStencilOp
#define glStencilOpSeparate gmlStencilOpSeparate
#define glTestFenceNV gmlTestFenceNV
#define glTexCoord1f gmlTexCoord1f
#define glTexCoord2f gmlTexCoord2f
#define glTexCoord2fv gmlTexCoord2fv
#define glTexCoord3f gmlTexCoord3f
#define glTexCoord4f gmlTexCoord4f
#define glTexCoordPointer gmlTexCoordPointer
#define glTexEnvf gmlTexEnvf
#define glTexEnvfv gmlTexEnvfv
#define glTexEnvi gmlTexEnvi
#define glTexGenf gmlTexGenf
#define glTexGenfv gmlTexGenfv
#define glTexGeni gmlTexGeni
#define glTexImage1D gmlTexImage1D
#define glTexImage2D gmlTexImage2D
#define glTexImage3D gmlTexImage3D
#define glTexParameterf gmlTexParameterf
#define glTexParameterfv gmlTexParameterfv
#define glTexParameteri gmlTexParameteri
#define glTexSubImage2D gmlTexSubImage2D
#define glTrackMatrixNV gmlTrackMatrixNV
#define glTranslated gmlTranslated
#define glTranslatef gmlTranslatef
#define glUniform1f gmlUniform1f
#define glUniform1fv gmlUniform1fv
#define glUniform1i gmlUniform1i
#define glUniform1iv gmlUniform1iv
#define glUniform1iARB gmlUniform1iARB
#define glUniform1uiv gmlUniform1uiv
#define glUniform2f gmlUniform2f
#define glUniform2fARB gmlUniform2fARB
#define glUniform2fv gmlUniform2fv
#define glUniform2i gmlUniform2i
#define glUniform2iv gmlUniform2iv
#define glUniform2uiv gmlUniform2uiv
#define glUniform3f gmlUniform3f
#define glUniform3fARB gmlUniform3fARB
#define glUniform3fv gmlUniform3fv
#define glUniform3i gmlUniform3i
#define glUniform3iv gmlUniform3iv
#define glUniform3uiv gmlUniform3uiv
#define glUniform4f gmlUniform4f
#define glUniform4fARB gmlUniform4fARB
#define glUniform4fv gmlUniform4fv
#define glUniform4i gmlUniform4i
#define glUniform4iv gmlUniform4iv
#define glUniform4uiv gmlUniform4uiv
#define glUniformMatrix2fv gmlUniformMatrix2fv
#define glUniformMatrix3fv gmlUniformMatrix3fv
#define glUniformMatrix4fv gmlUniformMatrix4fv
#define glUniformMatrix4fvARB gmlUniformMatrix4fvARB
#define glUnmapBuffer gmlUnmapBuffer
#define glUseProgram GML_NULL_CHECK(UseProgram)
#define glUseProgramObjectARB gmlUseProgramObjectARB
#define glValidateProgram gmlValidateProgram
#define glVertex2d gmlVertex2d
#define glVertex2f gmlVertex2f
#define glVertex3f gmlVertex3f
#define glVertex3fv gmlVertex3fv
#define glVertex3i gmlVertex3i
#define glVertex4f gmlVertex4f
#define glVertexAttribPointerARB gmlVertexAttribPointerARB
#define glVertexPointer gmlVertexPointer
#define glViewport gmlViewport
#define gluBuild2DMipmaps gmluBuild2DMipmaps
#define gluCylinder gmluCylinder
#define gluDeleteQuadric gmluDeleteQuadric
#define gluLookAt gmluLookAt
#define gluNewQuadric gmluNewQuadric
#define gluOrtho2D gmluOrtho2D
#define gluPerspective gmluPerspective
#define gluProject gmluProject
#define gluQuadricDrawStyle gmluQuadricDrawStyle
#define gluScaleImage gmluScaleImage
#define gluSphere gmluSphere
