test/testdyngl.c
changeset 910 4ab6d1fd028f
parent 885 9f6ad2286011
child 990 8e20c48a9c13
     1.1 --- a/test/testdyngl.c	Sun Jul 18 19:44:06 2004 +0000
     1.2 +++ b/test/testdyngl.c	Sun Jul 18 19:46:38 2004 +0000
     1.3 @@ -89,8 +89,10 @@
     1.4  	SDL_Event event;
     1.5  	int done=0;
     1.6  	GLfloat pixels[NB_PIXELS*3];
     1.7 -#ifdef _WIN32
     1.8 +#if defined(_WIN32)
     1.9  	char *gl_library = "OpenGL32.DLL";
    1.10 +#elif defined(__QNXNTO__)
    1.11 +	char *gl_library = "libGL.so.3";
    1.12  #else
    1.13  	char *gl_library = "libGL.so.1";
    1.14  #endif
    1.15 @@ -123,6 +125,9 @@
    1.16  		exit(1);
    1.17  	}
    1.18  
    1.19 +	/* Set the window manager title bar */
    1.20 +	SDL_WM_SetCaption( "SDL Dynamic OpenGL Loading Test", "testdyngl" );
    1.21 +
    1.22  	init_glfuncs(&f);
    1.23  
    1.24  	for(i=0;i<NB_PIXELS;i++)