test/testdyngl.c
changeset 1436 b5d4f280c960
parent 1402 d910939febfa
child 1439 4d3bb026cd16
equal deleted inserted replaced
1435:c2fa3fe049ed 1436:b5d4f280c960
    94 	glfuncs f;
    94 	glfuncs f;
    95 	int i;
    95 	int i;
    96 	SDL_Event event;
    96 	SDL_Event event;
    97 	int done=0;
    97 	int done=0;
    98 	GLfloat pixels[NB_PIXELS*3];
    98 	GLfloat pixels[NB_PIXELS*3];
    99 #if defined(__IRIX__)
    99 #if defined(__WIN32__)
   100 	const char *gl_library = "libGL.so";
   100 	const char *gl_library = "OpenGL32.DLL";
       
   101 #elif defined(__MACOS__)
       
   102 	const char *gl_library = "OpenGLLibrary";
   101 #elif defined(__MACOSX__)
   103 #elif defined(__MACOSX__)
   102 	const char *gl_library = "/usr/X11R6/lib/libGL.1.dylib";
   104 	const char *gl_library = "/usr/X11R6/lib/libGL.1.dylib";
       
   105 #elif defined(__IRIX__)
       
   106 	const char *gl_library = "libGL.so";
   103 #elif defined(__QNXNTO__)
   107 #elif defined(__QNXNTO__)
   104 	const char *gl_library = "libGL.so.3";
   108 	const char *gl_library = "libGL.so.3";
   105 #elif defined(__WIN32__)
       
   106 	const char *gl_library = "OpenGL32.DLL";
       
   107 #else
   109 #else
   108 	const char *gl_library = "libGL.so.1";
   110 	const char *gl_library = "libGL.so.1";
   109 #endif
   111 #endif
   110 
   112 
   111 	if (argv[1]) {
   113 	if (argv[1]) {