Fix warning train on OSX.
This commit is contained in:
parent
89cf228c30
commit
1968603451
|
@ -937,8 +937,7 @@ static void gl_glsl_reset_attrib(void)
|
||||||
|
|
||||||
bool gl_glsl_init(const char *path)
|
bool gl_glsl_init(const char *path)
|
||||||
{
|
{
|
||||||
#if !defined(HAVE_OPENGLES2) && !defined(HAVE_OPENGL_MODERN)
|
#if !defined(HAVE_OPENGLES2) && !defined(HAVE_OPENGL_MODERN) && !defined(__APPLE__)
|
||||||
|
|
||||||
// Load shader functions.
|
// Load shader functions.
|
||||||
LOAD_GL_SYM(CreateProgram);
|
LOAD_GL_SYM(CreateProgram);
|
||||||
LOAD_GL_SYM(UseProgram);
|
LOAD_GL_SYM(UseProgram);
|
||||||
|
|
Loading…
Reference in New Issue