test/testdyngl.c
changeset 1436 b5d4f280c960
parent 1402 d910939febfa
child 1439 4d3bb026cd16
     1.1 --- a/test/testdyngl.c	Sun Feb 26 03:36:33 2006 +0000
     1.2 +++ b/test/testdyngl.c	Sun Feb 26 03:51:08 2006 +0000
     1.3 @@ -96,14 +96,16 @@
     1.4  	SDL_Event event;
     1.5  	int done=0;
     1.6  	GLfloat pixels[NB_PIXELS*3];
     1.7 -#if defined(__IRIX__)
     1.8 -	const char *gl_library = "libGL.so";
     1.9 +#if defined(__WIN32__)
    1.10 +	const char *gl_library = "OpenGL32.DLL";
    1.11 +#elif defined(__MACOS__)
    1.12 +	const char *gl_library = "OpenGLLibrary";
    1.13  #elif defined(__MACOSX__)
    1.14  	const char *gl_library = "/usr/X11R6/lib/libGL.1.dylib";
    1.15 +#elif defined(__IRIX__)
    1.16 +	const char *gl_library = "libGL.so";
    1.17  #elif defined(__QNXNTO__)
    1.18  	const char *gl_library = "libGL.so.3";
    1.19 -#elif defined(__WIN32__)
    1.20 -	const char *gl_library = "OpenGL32.DLL";
    1.21  #else
    1.22  	const char *gl_library = "libGL.so.1";
    1.23  #endif