Skip to content
Permalink
Browse files

Passing a NULL GL library does the right thing nowadays.

  • Loading branch information
slouken committed Feb 26, 2006
1 parent 21a6019 commit 4414c45494a99885ba1e714fb46150a15e712046
Showing with 1 addition and 13 deletions.
  1. +1 −13 test/testdyngl.c
@@ -97,19 +97,7 @@ int main(int argc,char *argv[])
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];

0 comments on commit 4414c45

Please sign in to comment.