author Sam Lantinga <>
Sat, 02 Mar 2002 16:50:35 +0000
changeset 291 68a8a8237c09
parent 279 04351f59b051
child 309 2de77f7b7a28
permissions -rw-r--r--
Date: Thu, 21 Feb 2002 09:18:24 +0200 From: "Mike Gorchak" <> Subject: Re: Patches for QNX RtP again. SDL_ph_image.c - Added OpenGL update functions - fixed some application crashes. Some dead code removed, reformatting some functions. SDL_ph_image_c.h - Added OpenGL update function prototype. SDL_ph_video.c - Added GL_GetAttribute and GL_SetAttribute functions with next supported flags: SDL_GL_DOUBLEBUFFER, SDL_GL_STENCIL_SIZE, SDL_GL_DEPTH_SIZE GetWMInfo function (stub) has been implemented by me, but not listed in device structure - fixed. SDL_ph_wm.c - fixed warning 'no return in non-void function'. README.QNX - Updating readme. Some spellcheck. ;-)

README by Mike Gorchak <>

    OpenGL support was experimentally added in window mode (in
fullscreen mode not yet). If you have QNX RtP v6.1.0 w/ or w/o
Patch A you must download new Photon3D runtime from http://de- The versions of OS before 6.1.0 are not sup-

1. Fullscreen mode (in OpenGL mode) has not been  written yet.
2. Photon has some errors in detecting  how much bits  per pi-
   xel videomode has.
3. No  shared  libraries  yet. We  need  manually  set flag to
   'configure' --disable-shared.

Some building issues:

    Run configure script without x11 support, e.g.:

    a) for OpenGL support:
    ./configure --prefix=/usr/local \
                --disable-video-x11 \

    b) without OpenGL support:
    ./configure --prefix=/usr/local \
                --disable-video-x11 \
                --disable-shared    \

    In test directory also run ./configure script without x11 support, e.g.:

    ./configure  --with-sdl-prefix=/usr/local      \
                 --with-sdl-exec-prefix=/usr/local \
                 --prefix=/usr/local --without-x