changeset 1436:b5d4f280c960

Use the right dynamic GL on MacOS Classic
author Sam Lantinga <slouken@libsdl.org>
date Sun, 26 Feb 2006 03:51:08 +0000
parents c2fa3fe049ed
children f1781c15934c
files test/testdyngl.c
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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