# HG changeset patch # User Sam Lantinga # Date 1140925868 0 # Node ID b5d4f280c9601bd4afe9f75f8dcafabd6ba073f5 # Parent c2fa3fe049ede8e87b10bbc253c03856df705c60 Use the right dynamic GL on MacOS Classic diff -r c2fa3fe049ed -r b5d4f280c960 test/testdyngl.c --- a/test/testdyngl.c Sun Feb 26 03:36:33 2006 +0000 +++ b/test/testdyngl.c Sun Feb 26 03:51:08 2006 +0000 @@ -96,14 +96,16 @@ 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