diff src/video/SDL_renderer_gles.c @ 5153:1435f8a6425c

Nobody is currently maintaining the QNX code, so removing it for now.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 01 Feb 2011 21:40:03 -0800
parents be02be2ea897
children
line wrap: on
line diff
--- a/src/video/SDL_renderer_gles.c	Tue Feb 01 21:23:43 2011 -0800
+++ b/src/video/SDL_renderer_gles.c	Tue Feb 01 21:40:03 2011 -0800
@@ -30,14 +30,7 @@
 #include "SDL_rect_c.h"
 #include "SDL_yuv_sw_c.h"
 
-#if defined(__QNXNTO__)
-/* Include QNX system header to check QNX version later */
-#include <sys/neutrino.h>
-#endif /* __QNXNTO__ */
-
-#if defined(SDL_VIDEO_DRIVER_QNXGF)  ||  \
-    defined(SDL_VIDEO_DRIVER_PHOTON) ||  \
-    defined(SDL_VIDEO_DRIVER_PANDORA)
+#if defined(SDL_VIDEO_DRIVER_PANDORA)
 
 /* Empty function stub to get OpenGL ES 1.x support without  */
 /* OpenGL ES extension GL_OES_draw_texture supported         */
@@ -47,7 +40,7 @@
     return;
 }
 
-#endif /* QNXGF || PHOTON || PANDORA */
+#endif /* PANDORA */
 
 /* OpenGL ES 1.1 renderer implementation, based on the OpenGL renderer */
 
@@ -229,16 +222,6 @@
 
     renderer->info.flags = SDL_RENDERER_ACCELERATED;
 
-#if defined(__QNXNTO__)
-#if _NTO_VERSION<=641
-    /* QNX's OpenGL ES implementation is broken regarding             */
-    /* packed textures support, affected versions 6.3.2, 6.4.0, 6.4.1 */
-    renderer->info.num_texture_formats = 2;
-    renderer->info.texture_formats[0] = SDL_PIXELFORMAT_ABGR8888;
-    renderer->info.texture_formats[1] = SDL_PIXELFORMAT_BGR24;
-#endif /* _NTO_VERSION */
-#endif /* __QNXNTO__ */
-
     if (GLES_LoadFunctions(data) < 0) {
         GLES_DestroyRenderer(renderer);
         return NULL;