diff include/SDL_opengles.h @ 3083:0bc41e0361d3

Date: Mon, 2 Mar 2009 16:27:42 +0200 From: "Mike Gorchak" Subject: About QNX support in SDL 1.3 Right now I'm working on QNX SDL 1.3 drivers implementation and looks like a lot of code must be completely reworked. But I'm ready for it :) Also I want to add QNX Graphics Framework SDL driver, which is fullscreen graphics framework, with support of hardware accelerated OpenGL ES implementations. This Graphics Framework (called GF in QNX) could also use QNX Photon (window manager GUI) as window manager. In the attachment initial patch for QNX support in SDL 1.3
author Sam Lantinga <slouken@libsdl.org>
date Tue, 03 Mar 2009 04:21:51 +0000
parents 99210400e8b9
children 0b6f51c29267
line wrap: on
line diff
--- a/include/SDL_opengles.h	Fri Feb 27 09:51:55 2009 +0000
+++ b/include/SDL_opengles.h	Tue Mar 03 04:21:51 2009 +0000
@@ -40,6 +40,10 @@
 #include <OpenGLES/ES1/gl.h>    /* Header File For The OpenGL ES Library */
 #endif
 
+#if defined(__QNXNTO__) && defined(SDL_VIDEO_OPENGL_ES)
+#include <GLES/egl.h>
+#endif
+
 #ifndef APIENTRY
 #define APIENTRY
 #endif