Mercurial > sdl-ios-xcode
diff test/testdyngl.c @ 910:4ab6d1fd028f
Date: Sat, 26 Jun 2004 14:58:42 +0300
From: "Mike Gorchak"
Subject: QNX 6.3 fixes for SDL
Sam, I've added new OpenGL framework for SDL, which appeared in the new QNX version - 6.3. I've leave compatibility with previous QNX versions. And I've moved all GL specific functions to the separate module, like it done for the other platforms.
SDL is now ready for the QNX 6.3 :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 18 Jul 2004 19:46:38 +0000 |
parents | 9f6ad2286011 |
children | 8e20c48a9c13 |
line wrap: on
line diff
--- 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++)