Skip to content

Commit

Permalink
Passing a NULL GL library does the right thing nowadays.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 26, 2006
1 parent 21a6019 commit 4414c45
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions test/testdyngl.c
Expand Up @@ -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];
Expand Down

0 comments on commit 4414c45

Please sign in to comment.