// #include <GLES2/gl2extimg.h>
#include <SDL.h>
#endif
+#ifdef USE_X11
+ #include <EGL/egl.h>
+#endif
#ifndef min
#define min(a,b) ((a) < (b) ? (a) : (b))
#ifdef USE_SDL
// TODO: More EGL stuff, need to do this in Java
SDL_Surface *hScreen; // TODO: Do we really need this? Only using it in one place AFAICT..
-/*
+#endif
+#ifdef USE_X11
struct
{
EGLint version_major, version_minor;
EGLNativeDisplayType device;
EGLNativeWindowType handle;
} EGL;
-*/
#endif
bool screenUpdate;