diff --git a/src/video/maccommon/SDL_macgl.c b/src/video/maccommon/SDL_macgl.c index 063ab417b..76bc52927 100644 --- a/src/video/maccommon/SDL_macgl.c +++ b/src/video/maccommon/SDL_macgl.c @@ -168,7 +168,11 @@ void Mac_GL_SwapBuffers(_THIS) int Mac_GL_LoadLibrary(_THIS, const char *location) { if (location == NULL) +#if __MACH__ + location = "/System/Library/Frameworks/OpenGL.framework/OpenGL"; +#else location = "OpenGLLibrary"; +#endif this->hidden->libraryHandle = SDL_LoadObject(location);