Use the right dynamic GL on MacOS Classic
authorSam Lantinga <slouken@libsdl.org>
Sun, 26 Feb 2006 03:51:08 +0000
changeset 1436 b5d4f280c960
parent 1435 c2fa3fe049ed
child 1437 f1781c15934c
Use the right dynamic GL on MacOS Classic
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