+ {"core", "glActiveTexture", (void **) &qglActiveTexture},
+ {"core", "glAttachShader", (void **) &qglAttachShader},
+ {"core", "glBeginQuery", (void **) &qglBeginQuery},
+ {"core", "glBindAttribLocation", (void **) &qglBindAttribLocation},
+ {"core", "glBindBuffer", (void **) &qglBindBuffer},
+ {"core", "glBindBufferBase", (void **) &qglBindBufferBase},
+ {"core", "glBindBufferRange", (void **) &qglBindBufferRange},
+ {"core", "glBindFramebuffer", (void **) &qglBindFramebuffer},
+ {"core", "glBindRenderbuffer", (void **) &qglBindRenderbuffer},
+ {"core", "glBindTexture", (void **) &qglBindTexture},
+ {"core", "glBindVertexArray", (void **) &qglBindVertexArray},
+ {"core", "glBlendEquation", (void **) &qglBlendEquation},
+ {"core", "glBlendFunc", (void **) &qglBlendFunc},
+ {"core", "glBlendFuncSeparate", (void **) &qglBlendFuncSeparate},
+ {"core", "glBlitFramebuffer", (void **) &qglBlitFramebuffer},
+ {"core", "glBufferData", (void **) &qglBufferData},
+ {"core", "glBufferSubData", (void **) &qglBufferSubData},
+ {"core", "glCheckFramebufferStatus", (void **) &qglCheckFramebufferStatus},
+ {"core", "glClear", (void **) &qglClear},
+ {"core", "glClearColor", (void **) &qglClearColor},
+ {"core", "glClearDepth", (void **) &qglClearDepth},
+ {"core", "glClearStencil", (void **) &qglClearStencil},
+ {"core", "glColorMask", (void **) &qglColorMask},
+ {"core", "glCompileShader", (void **) &qglCompileShader},
+ {"core", "glCompressedTexImage2D", (void **) &qglCompressedTexImage2D},
+ {"core", "glCompressedTexImage3D", (void **) &qglCompressedTexImage3D},
+ {"core", "glCompressedTexSubImage2D", (void **) &qglCompressedTexSubImage2D},
+ {"core", "glCompressedTexSubImage3D", (void **) &qglCompressedTexSubImage3D},
+ {"core", "glCopyTexImage2D", (void **) &qglCopyTexImage2D},
+ {"core", "glCopyTexSubImage2D", (void **) &qglCopyTexSubImage2D},
+ {"core", "glCopyTexSubImage3D", (void **) &qglCopyTexSubImage3D},
+ {"core", "glCreateProgram", (void **) &qglCreateProgram},
+ {"core", "glCreateShader", (void **) &qglCreateShader},
+ {"core", "glCullFace", (void **) &qglCullFace},
+ {"core", "glDeleteBuffers", (void **) &qglDeleteBuffers},
+ {"core", "glDeleteFramebuffers", (void **) &qglDeleteFramebuffers},
+ {"core", "glDeleteProgram", (void **) &qglDeleteProgram},
+ {"core", "glDeleteQueries", (void **) &qglDeleteQueries},
+ {"core", "glDeleteRenderbuffers", (void **) &qglDeleteRenderbuffers},
+ {"core", "glDeleteShader", (void **) &qglDeleteShader},
+ {"core", "glDeleteTextures", (void **) &qglDeleteTextures},
+ {"core", "glDeleteVertexArrays", (void **)&qglDeleteVertexArrays},
+ {"core", "glDepthFunc", (void **) &qglDepthFunc},
+ {"core", "glDepthMask", (void **) &qglDepthMask},
+ {"core", "glDepthRange", (void **) &qglDepthRange},
+ {"core", "glDepthRangef", (void **) &qglDepthRangef},
+ {"core", "glDetachShader", (void **) &qglDetachShader},
+ {"core", "glDisable", (void **) &qglDisable},
+ {"core", "glDisableVertexAttribArray", (void **) &qglDisableVertexAttribArray},
+ {"core", "glDrawArrays", (void **) &qglDrawArrays},
+ {"core", "glDrawBuffer", (void **) &qglDrawBuffer},
+ {"core", "glDrawBuffers", (void **) &qglDrawBuffers},
+ {"core", "glDrawElements", (void **) &qglDrawElements},
+ {"core", "glEnable", (void **) &qglEnable},
+ {"core", "glEnableVertexAttribArray", (void **) &qglEnableVertexAttribArray},
+ {"core", "glEndQuery", (void **) &qglEndQuery},
+ {"core", "glFinish", (void **) &qglFinish},
+ {"core", "glFlush", (void **) &qglFlush},
+ {"core", "glFramebufferRenderbuffer", (void **) &qglFramebufferRenderbuffer},
+ {"core", "glFramebufferTexture1D", (void **) &qglFramebufferTexture1D},
+ {"core", "glFramebufferTexture2D", (void **) &qglFramebufferTexture2D},
+ {"core", "glFramebufferTexture3D", (void **) &qglFramebufferTexture3D},
+ {"core", "glFramebufferTextureLayer", (void **) &qglFramebufferTextureLayer},
+ {"core", "glGenBuffers", (void **) &qglGenBuffers},
+ {"core", "glGenFramebuffers", (void **) &qglGenFramebuffers},
+ {"core", "glGenQueries", (void **) &qglGenQueries},
+ {"core", "glGenRenderbuffers", (void **) &qglGenRenderbuffers},
+ {"core", "glGenTextures", (void **) &qglGenTextures},
+ {"core", "glGenVertexArrays", (void **)&qglGenVertexArrays},
+ {"core", "glGenerateMipmap", (void **) &qglGenerateMipmap},
+ {"core", "glGetActiveAttrib", (void **) &qglGetActiveAttrib},
+ {"core", "glGetActiveUniform", (void **) &qglGetActiveUniform},
+ {"core", "glGetActiveUniformBlockName", (void **) &qglGetActiveUniformBlockName},
+ {"core", "glGetActiveUniformBlockiv", (void **) &qglGetActiveUniformBlockiv},
+ {"core", "glGetActiveUniformName", (void **) &qglGetActiveUniformName},
+ {"core", "glGetActiveUniformsiv", (void **) &qglGetActiveUniformsiv},
+ {"core", "glGetAttachedShaders", (void **) &qglGetAttachedShaders},
+ {"core", "glGetAttribLocation", (void **) &qglGetAttribLocation},
+ {"core", "glGetBooleanv", (void **) &qglGetBooleanv},
+ {"core", "glGetCompressedTexImage", (void **) &qglGetCompressedTexImage},
+ {"core", "glGetDoublev", (void **) &qglGetDoublev},
+ {"core", "glGetError", (void **) &qglGetError},
+ {"core", "glGetFloatv", (void **) &qglGetFloatv},
+ {"core", "glGetFramebufferAttachmentParameteriv", (void **) &qglGetFramebufferAttachmentParameteriv},
+ {"core", "glGetIntegeri_v", (void **) &qglGetIntegeri_v},
+ {"core", "glGetIntegerv", (void **) &qglGetIntegerv},
+ {"core", "glGetProgramInfoLog", (void **) &qglGetProgramInfoLog},
+ {"core", "glGetProgramiv", (void **) &qglGetProgramiv},
+ {"core", "glGetQueryObjectiv", (void **) &qglGetQueryObjectiv},
+ {"core", "glGetQueryObjectuiv", (void **) &qglGetQueryObjectuiv},
+ {"core", "glGetQueryiv", (void **) &qglGetQueryiv},
+ {"core", "glGetRenderbufferParameteriv", (void **) &qglGetRenderbufferParameteriv},
+ {"core", "glGetShaderInfoLog", (void **) &qglGetShaderInfoLog},
+ {"core", "glGetShaderSource", (void **) &qglGetShaderSource},
+ {"core", "glGetShaderiv", (void **) &qglGetShaderiv},
+ {"core", "glGetString", (void **) &qglGetString},
+ {"core", "glGetStringi", (void **) &qglGetStringi},
+ {"core", "glGetTexImage", (void **) &qglGetTexImage},
+ {"core", "glGetTexLevelParameterfv", (void **) &qglGetTexLevelParameterfv},
+ {"core", "glGetTexLevelParameteriv", (void **) &qglGetTexLevelParameteriv},
+ {"core", "glGetTexParameterfv", (void **) &qglGetTexParameterfv},
+ {"core", "glGetTexParameteriv", (void **) &qglGetTexParameteriv},
+ {"core", "glGetUniformBlockIndex", (void **) &qglGetUniformBlockIndex},
+ {"core", "glGetUniformIndices", (void **) &qglGetUniformIndices},
+ {"core", "glGetUniformLocation", (void **) &qglGetUniformLocation},
+ {"core", "glGetUniformfv", (void **) &qglGetUniformfv},
+ {"core", "glGetUniformiv", (void **) &qglGetUniformiv},
+ {"core", "glGetVertexAttribPointerv", (void **) &qglGetVertexAttribPointerv},
+ {"core", "glGetVertexAttribdv", (void **) &qglGetVertexAttribdv},
+ {"core", "glGetVertexAttribfv", (void **) &qglGetVertexAttribfv},
+ {"core", "glGetVertexAttribiv", (void **) &qglGetVertexAttribiv},
+ {"core", "glHint", (void **) &qglHint},
+ {"core", "glIsBuffer", (void **) &qglIsBuffer},
+ {"core", "glIsEnabled", (void **) &qglIsEnabled},
+ {"core", "glIsFramebuffer", (void **) &qglIsFramebuffer},
+ {"core", "glIsQuery", (void **) &qglIsQuery},
+ {"core", "glIsRenderbuffer", (void **) &qglIsRenderbuffer},
+ {"core", "glLinkProgram", (void **) &qglLinkProgram},
+ {"core", "glMapBuffer", (void **) &qglMapBuffer},
+ {"core", "glPixelStorei", (void **) &qglPixelStorei},
+ {"core", "glPointSize", (void **) &qglPointSize},
+ {"core", "glPolygonMode", (void **) &qglPolygonMode},
+ {"core", "glPolygonOffset", (void **) &qglPolygonOffset},
+ {"core", "glReadBuffer", (void **) &qglReadBuffer},
+ {"core", "glReadPixels", (void **) &qglReadPixels},
+ {"core", "glRenderbufferStorage", (void **) &qglRenderbufferStorage},
+ {"core", "glRenderbufferStorageMultisample", (void **) &qglRenderbufferStorageMultisample},
+ {"core", "glSampleCoverage", (void **) &qglSampleCoverage},
+ {"core", "glScissor", (void **) &qglScissor},
+ {"core", "glShaderSource", (void **) &qglShaderSource},
+ {"core", "glStencilFunc", (void **) &qglStencilFunc},
+ {"core", "glStencilMask", (void **) &qglStencilMask},
+ {"core", "glStencilOp", (void **) &qglStencilOp},
+ {"core", "glTexImage2D", (void **) &qglTexImage2D},
+ {"core", "glTexImage3D", (void **) &qglTexImage3D},
+ {"core", "glTexParameterf", (void **) &qglTexParameterf},
+ {"core", "glTexParameterfv", (void **) &qglTexParameterfv},
+ {"core", "glTexParameteri", (void **) &qglTexParameteri},
+ {"core", "glTexSubImage2D", (void **) &qglTexSubImage2D},
+ {"core", "glTexSubImage3D", (void **) &qglTexSubImage3D},
+ {"core", "glUniform1f", (void **) &qglUniform1f},
+ {"core", "glUniform1fv", (void **) &qglUniform1fv},
+ {"core", "glUniform1i", (void **) &qglUniform1i},
+ {"core", "glUniform1iv", (void **) &qglUniform1iv},
+ {"core", "glUniform2f", (void **) &qglUniform2f},
+ {"core", "glUniform2fv", (void **) &qglUniform2fv},
+ {"core", "glUniform2i", (void **) &qglUniform2i},
+ {"core", "glUniform2iv", (void **) &qglUniform2iv},
+ {"core", "glUniform3f", (void **) &qglUniform3f},
+ {"core", "glUniform3fv", (void **) &qglUniform3fv},
+ {"core", "glUniform3i", (void **) &qglUniform3i},
+ {"core", "glUniform3iv", (void **) &qglUniform3iv},
+ {"core", "glUniform4f", (void **) &qglUniform4f},
+ {"core", "glUniform4fv", (void **) &qglUniform4fv},
+ {"core", "glUniform4i", (void **) &qglUniform4i},
+ {"core", "glUniform4iv", (void **) &qglUniform4iv},
+ {"core", "glUniformBlockBinding", (void **) &qglUniformBlockBinding},
+ {"core", "glUniformMatrix2fv", (void **) &qglUniformMatrix2fv},
+ {"core", "glUniformMatrix3fv", (void **) &qglUniformMatrix3fv},
+ {"core", "glUniformMatrix4fv", (void **) &qglUniformMatrix4fv},
+ {"core", "glUnmapBuffer", (void **) &qglUnmapBuffer},
+ {"core", "glUseProgram", (void **) &qglUseProgram},
+ {"core", "glValidateProgram", (void **) &qglValidateProgram},
+ {"core", "glVertexAttrib1d", (void **) &qglVertexAttrib1d},
+ {"core", "glVertexAttrib1dv", (void **) &qglVertexAttrib1dv},
+ {"core", "glVertexAttrib1f", (void **) &qglVertexAttrib1f},
+ {"core", "glVertexAttrib1fv", (void **) &qglVertexAttrib1fv},
+ {"core", "glVertexAttrib1s", (void **) &qglVertexAttrib1s},
+ {"core", "glVertexAttrib1sv", (void **) &qglVertexAttrib1sv},
+ {"core", "glVertexAttrib2d", (void **) &qglVertexAttrib2d},
+ {"core", "glVertexAttrib2dv", (void **) &qglVertexAttrib2dv},
+ {"core", "glVertexAttrib2f", (void **) &qglVertexAttrib2f},
+ {"core", "glVertexAttrib2fv", (void **) &qglVertexAttrib2fv},
+ {"core", "glVertexAttrib2s", (void **) &qglVertexAttrib2s},
+ {"core", "glVertexAttrib2sv", (void **) &qglVertexAttrib2sv},
+ {"core", "glVertexAttrib3d", (void **) &qglVertexAttrib3d},
+ {"core", "glVertexAttrib3dv", (void **) &qglVertexAttrib3dv},
+ {"core", "glVertexAttrib3f", (void **) &qglVertexAttrib3f},
+ {"core", "glVertexAttrib3fv", (void **) &qglVertexAttrib3fv},
+ {"core", "glVertexAttrib3s", (void **) &qglVertexAttrib3s},
+ {"core", "glVertexAttrib3sv", (void **) &qglVertexAttrib3sv},
+ {"core", "glVertexAttrib4Nbv", (void **) &qglVertexAttrib4Nbv},
+ {"core", "glVertexAttrib4Niv", (void **) &qglVertexAttrib4Niv},
+ {"core", "glVertexAttrib4Nsv", (void **) &qglVertexAttrib4Nsv},
+ {"core", "glVertexAttrib4Nub", (void **) &qglVertexAttrib4Nub},
+ {"core", "glVertexAttrib4Nubv", (void **) &qglVertexAttrib4Nubv},
+ {"core", "glVertexAttrib4Nuiv", (void **) &qglVertexAttrib4Nuiv},
+ {"core", "glVertexAttrib4Nusv", (void **) &qglVertexAttrib4Nusv},
+ {"core", "glVertexAttrib4bv", (void **) &qglVertexAttrib4bv},
+ {"core", "glVertexAttrib4d", (void **) &qglVertexAttrib4d},
+ {"core", "glVertexAttrib4dv", (void **) &qglVertexAttrib4dv},
+ {"core", "glVertexAttrib4f", (void **) &qglVertexAttrib4f},
+ {"core", "glVertexAttrib4fv", (void **) &qglVertexAttrib4fv},
+ {"core", "glVertexAttrib4iv", (void **) &qglVertexAttrib4iv},
+ {"core", "glVertexAttrib4s", (void **) &qglVertexAttrib4s},
+ {"core", "glVertexAttrib4sv", (void **) &qglVertexAttrib4sv},
+ {"core", "glVertexAttrib4ubv", (void **) &qglVertexAttrib4ubv},
+ {"core", "glVertexAttrib4uiv", (void **) &qglVertexAttrib4uiv},
+ {"core", "glVertexAttrib4usv", (void **) &qglVertexAttrib4usv},
+ {"core", "glVertexAttribPointer", (void **) &qglVertexAttribPointer},
+ {"core", "glViewport", (void **) &qglViewport},
+ {"glBindFragDataLocation", "glBindFragDataLocation", (void **) &qglBindFragDataLocation}, // optional (no preference)
+ {"GL_ARB_debug_output", "glDebugMessageControlARB", (void **)&qglDebugMessageControlARB},
+ {"GL_ARB_debug_output", "glDebugMessageInsertARB", (void **)&qglDebugMessageInsertARB},
+ {"GL_ARB_debug_output", "glDebugMessageCallbackARB", (void **)&qglDebugMessageCallbackARB},
+ {"GL_ARB_debug_output", "glGetDebugMessageLogARB", (void **)&qglGetDebugMessageLogARB},
+ {"GL_ARB_debug_output", "glGetPointerv", (void **)&qglGetPointerv},
+ {NULL, NULL, NULL}