summaryrefslogtreecommitdiff
path: root/include/SDL_opengles.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2009-03-03 04:21:51 +0000
committerSam Lantinga <slouken@libsdl.org>2009-03-03 04:21:51 +0000
commite87963bb443162cc9e0338c5d9072a3729f46c1a (patch)
treeeb5119c339fe1c68d06c4fa07bec75efc80d6788 /include/SDL_opengles.h
parent89b23cc7ea3f8b87b3fd8c1d5a865954015fe254 (diff)
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 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403549
Diffstat (limited to 'include/SDL_opengles.h')
-rw-r--r--include/SDL_opengles.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/SDL_opengles.h b/include/SDL_opengles.h
index 814eb071..098d016a 100644
--- a/include/SDL_opengles.h
+++ b/include/SDL_opengles.h
@@ -40,6 +40,10 @@ extern "C"
#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