Mercurial > sdl-ios-xcode
diff src/video/photon/SDL_photon_render.c @ 3411:d15a4daa4a58
Fixes in GLES configuration selection. Support for an old QNX 6.3.2.
author | Mike Gorchak <lestat@i.com.ua> |
---|---|
date | Thu, 22 Oct 2009 06:08:36 +0000 |
parents | d6b79fc83362 |
children | feea0def118d |
line wrap: on
line diff
--- a/src/video/photon/SDL_photon_render.c Thu Oct 22 06:07:05 2009 +0000 +++ b/src/video/photon/SDL_photon_render.c Thu Oct 22 06:08:36 2009 +0000 @@ -34,6 +34,11 @@ #include "SDL_photon_render.h" #include "SDL_photon.h" +#ifndef Pg_OSC_MEM_LINEAR_ACCESSIBLE + /* For QNX 6.3.2 compatibility */ + #define Pg_OSC_MEM_LINEAR_ACCESSIBLE 0 +#endif /* Pg_OSC_MEM_LINEAR_ACCESSIBLE */ + static SDL_Renderer *photon_createrenderer(SDL_Window * window, Uint32 flags); static int photon_displaymodechanged(SDL_Renderer * renderer); static int photon_activaterenderer(SDL_Renderer * renderer);