Do not resolve glBlendColor

glBlendColor has been added to OpenGL 1.2 which means it is part of
the OpenGL ABI defined for Linux.

See http://www.opengl.org/registry/ABI/ section 3.4.
This commit is contained in:
Martin Gräßlin 2012-10-03 09:49:07 +02:00
parent cf35c26396
commit 15d714d82c
2 changed files with 0 additions and 4 deletions

View file

@ -77,7 +77,6 @@ glXGetFBConfigs_func glXGetFBConfigs;
// glActiveTexture
glActiveTexture_func glActiveTexture;
glBlendColor_func glBlendColor;
// framebuffer_object extension functions
glIsRenderbuffer_func glIsRenderbuffer;
glBindRenderbuffer_func glBindRenderbuffer;
@ -417,7 +416,6 @@ void glResolveFunctions(OpenGLPlatformInterface platformInterface)
glProgramLocalParameter4fARB = NULL;
glGetProgramivARB = NULL;
}
GL_RESOLVE_WITH_EXT(glBlendColor, glBlendColorARB);
if (hasGLExtension("GL_ARB_vertex_buffer_object")) {
// see http://www.opengl.org/registry/specs/ARB/vertex_buffer_object.txt
GL_RESOLVE_WITH_EXT(glGenBuffers, glGenBuffersARB);

View file

@ -225,8 +225,6 @@ extern KWIN_EXPORT glXGetFBConfigs_func glXGetFBConfigs;
// glActiveTexture
typedef void (*glActiveTexture_func)(GLenum);
extern KWIN_EXPORT glActiveTexture_func glActiveTexture;
typedef void (*glBlendColor_func)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
extern KWIN_EXPORT glBlendColor_func glBlendColor;
// framebuffer_object extension functions
typedef GLboolean(*glIsRenderbuffer_func)(GLuint renderbuffer);
typedef void (*glBindRenderbuffer_func)(GLenum target, GLuint renderbuffer);