test/testdyngl.c
changeset 1440 ae78374ac894
parent 1439 4d3bb026cd16
child 1659 14717b52abc0
equal deleted inserted replaced
1439:4d3bb026cd16 1440:ae78374ac894
    95 	glfuncs f;
    95 	glfuncs f;
    96 	int i;
    96 	int i;
    97 	SDL_Event event;
    97 	SDL_Event event;
    98 	int done=0;
    98 	int done=0;
    99 	GLfloat pixels[NB_PIXELS*3];
    99 	GLfloat pixels[NB_PIXELS*3];
   100 #if defined(__WIN32__)
   100 	const char *gl_library = NULL; /* Use the default GL library */
   101 	const char *gl_library = "OpenGL32.DLL";
       
   102 #elif defined(__MACOS__)
       
   103 	const char *gl_library = "OpenGLLibrary";
       
   104 #elif defined(__MACOSX__)
       
   105 	const char *gl_library = "/usr/X11R6/lib/libGL.1.dylib";
       
   106 #elif defined(__IRIX__)
       
   107 	const char *gl_library = "libGL.so";
       
   108 #elif defined(__QNXNTO__)
       
   109 	const char *gl_library = "libGL.so.3";
       
   110 #else
       
   111 	const char *gl_library = "libGL.so.1";
       
   112 #endif
       
   113 
   101 
   114 	if (argv[1]) {
   102 	if (argv[1]) {
   115 		gl_library = argv[1];
   103 		gl_library = argv[1];
   116 	}
   104 	}
   117 	
   105