Resolve glBlendColor function.

svn path=/trunk/KDE/kdebase/workspace/; revision=1102446
This commit is contained in:
Martin Gräßlin 2010-03-12 14:41:24 +00:00
parent 4d33600a19
commit cc321b32cb
2 changed files with 4 additions and 0 deletions

View file

@ -60,6 +60,7 @@ glXGetFBConfigs_func glXGetFBConfigs;
// glActiveTexture
glActiveTexture_func glActiveTexture;
glBlendColor_func glBlendColor;
// framebuffer_object extension functions
glIsRenderbuffer_func glIsRenderbuffer;
glBindRenderbuffer_func glBindRenderbuffer;
@ -257,6 +258,7 @@ void glResolveFunctions()
GL_RESOLVE( glProgramLocalParameter4fARB );
GL_RESOLVE( glGetProgramivARB );
}
GL_RESOLVE_WITH_EXT( glBlendColor, glBlendColorARB );
}
} // namespace

View file

@ -218,6 +218,8 @@ 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 );