# HG changeset patch # User Sam Lantinga # Date 1140961226 0 # Node ID ae78374ac89458eb4b29ceb8c1d5cdbacb7c4e99 # Parent 4d3bb026cd16c05b41f7fa45a2dc032fef662831 Passing a NULL GL library does the right thing nowadays. diff -r 4d3bb026cd16 -r ae78374ac894 test/testdyngl.c --- a/test/testdyngl.c Sun Feb 26 05:02:14 2006 +0000 +++ b/test/testdyngl.c Sun Feb 26 13:40:26 2006 +0000 @@ -97,19 +97,7 @@ SDL_Event event; int done=0; GLfloat pixels[NB_PIXELS*3]; -#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"; -#else - const char *gl_library = "libGL.so.1"; -#endif + const char *gl_library = NULL; /* Use the default GL library */ if (argv[1]) { gl_library = argv[1];