diff test/testdyngl.c @ 1440:ae78374ac894

Passing a NULL GL library does the right thing nowadays.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 26 Feb 2006 13:40:26 +0000
parents 4d3bb026cd16
children 14717b52abc0
line wrap: on
line diff
--- 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];