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