Skip to content
Permalink
Browse files

Use the right dynamic GL on MacOS Classic

  • Loading branch information
slouken committed Feb 26, 2006
1 parent 780267e commit 1027dce7d2136fc6e927521d14aaf364f5caaa80
Showing with 6 additions and 4 deletions.
  1. +6 −4 test/testdyngl.c
@@ -96,14 +96,16 @@ int main(int argc,char *argv[])
SDL_Event event;
int done=0;
GLfloat pixels[NB_PIXELS*3];
#if defined(__IRIX__)
const char *gl_library = "libGL.so";
#if defined(__WIN32__)
const char *gl_library = "OpenGL32.DLL";
#elif defined(__MACOS__)
const char *gl_library = "OpenGLLibrary";
#elif defined(__MACOSX__)
const char *gl_library = "/usr/X11R6/lib/libGL.1.dylib";
#elif defined(__IRIX__)
const char *gl_library = "libGL.so";
#elif defined(__QNXNTO__)
const char *gl_library = "libGL.so.3";
#elif defined(__WIN32__)
const char *gl_library = "OpenGL32.DLL";
#else
const char *gl_library = "libGL.so.1";
#endif

0 comments on commit 1027dce

Please sign in to comment.