test/testdyngl.c
changeset 910 4ab6d1fd028f
parent 885 9f6ad2286011
child 990 8e20c48a9c13
--- a/test/testdyngl.c	Sun Jul 18 19:44:06 2004 +0000
+++ b/test/testdyngl.c	Sun Jul 18 19:46:38 2004 +0000
@@ -89,8 +89,10 @@
 	SDL_Event event;
 	int done=0;
 	GLfloat pixels[NB_PIXELS*3];
-#ifdef _WIN32
+#if defined(_WIN32)
 	char *gl_library = "OpenGL32.DLL";
+#elif defined(__QNXNTO__)
+	char *gl_library = "libGL.so.3";
 #else
 	char *gl_library = "libGL.so.1";
 #endif
@@ -123,6 +125,9 @@
 		exit(1);
 	}
 
+	/* Set the window manager title bar */
+	SDL_WM_SetCaption( "SDL Dynamic OpenGL Loading Test", "testdyngl" );
+
 	init_glfuncs(&f);
 
 	for(i=0;i<NB_PIXELS;i++)