OpenGL Renderer:

- Temporary compile fix: Don't dynamically link glActiveTextureARB for Linux/X11 platforms.
This commit is contained in:
rogerman 2013-01-27 01:12:36 +00:00
parent a340c63734
commit 6506df3a30
1 changed files with 4 additions and 0 deletions

View File

@ -253,7 +253,9 @@ static void ENDGL() {
//------------------------------------------------------------
// Textures
#if !defined(GLX_H)
OGLEXT(PFNGLACTIVETEXTUREARBPROC, glActiveTextureARB)
#endif
// Blending
OGLEXT(PFNGLBLENDFUNCSEPARATEEXTPROC, glBlendFuncSeparateEXT)
@ -319,7 +321,9 @@ OGLEXT(PFNGLDELETERENDERBUFFERSEXTPROC, glDeleteRenderbuffersEXT)
static void OGLInitFunctions(const char *oglExtensionString)
{
// Textures
#if !defined(GLX_H)
INITOGLEXT(PFNGLACTIVETEXTUREARBPROC, glActiveTextureARB)
#endif
// Blending
INITOGLEXT(PFNGLBLENDFUNCSEPARATEEXTPROC, glBlendFuncSeparateEXT)