OpenGL Renderer:
- Temporary compile fix: Don't dynamically link glActiveTextureARB for Linux/X11 platforms.
This commit is contained in:
parent
a340c63734
commit
6506df3a30
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue