should fix egl.h issues

This commit is contained in:
David Rose 2011-09-27 14:22:00 +00:00
parent b3706f5018
commit 9a7af0f435

View File

@ -24,13 +24,17 @@
#ifdef OPENGLES_2 #ifdef OPENGLES_2
#include "gles2gsg.h" #include "gles2gsg.h"
#include "pre_x11_include.h"
#include <EGL/egl.h> #include <EGL/egl.h>
#include "post_x11_include.h"
#define NativeDisplayType EGLNativeDisplayType #define NativeDisplayType EGLNativeDisplayType
#define NativePixmapType EGLNativePixmapType #define NativePixmapType EGLNativePixmapType
#define NativeWindowType EGLNativeWindowType #define NativeWindowType EGLNativeWindowType
#else #else
#include "glesgsg.h" #include "glesgsg.h"
#include "pre_x11_include.h"
#include <GLES/egl.h> #include <GLES/egl.h>
#include "post_x11_include.h"
#endif #endif
class FrameBufferProperties; class FrameBufferProperties;