comparison 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
comparison
equal deleted inserted replaced
3410:f4bc25567731 3411:d15a4daa4a58
31 31
32 #include "SDL_video.h" 32 #include "SDL_video.h"
33 33
34 #include "SDL_photon_render.h" 34 #include "SDL_photon_render.h"
35 #include "SDL_photon.h" 35 #include "SDL_photon.h"
36
37 #ifndef Pg_OSC_MEM_LINEAR_ACCESSIBLE
38 /* For QNX 6.3.2 compatibility */
39 #define Pg_OSC_MEM_LINEAR_ACCESSIBLE 0
40 #endif /* Pg_OSC_MEM_LINEAR_ACCESSIBLE */
36 41
37 static SDL_Renderer *photon_createrenderer(SDL_Window * window, Uint32 flags); 42 static SDL_Renderer *photon_createrenderer(SDL_Window * window, Uint32 flags);
38 static int photon_displaymodechanged(SDL_Renderer * renderer); 43 static int photon_displaymodechanged(SDL_Renderer * renderer);
39 static int photon_activaterenderer(SDL_Renderer * renderer); 44 static int photon_activaterenderer(SDL_Renderer * renderer);
40 static int photon_createtexture(SDL_Renderer * renderer, 45 static int photon_createtexture(SDL_Renderer * renderer,