mirror of
https://github.com/yawut/SDL.git
synced 2026-07-18 17:01:19 -05:00
Fixed bug #222
SDL_macgl loads CFM library (OpenGLLibrary) even in Mach-O, when it should be loading the OpenGL.framework code instead
This commit is contained in:
parent
0083eea4ff
commit
69c495a139
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user