X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=mupen64plus-pandora.git;a=blobdiff_plain;f=source%2Fgles2n64%2Fsrc%2FOpenGL.h;h=b403d78a99e4e80013aa1c87adae7a540b1bf2f7;hp=3db0743dd47e043fe7531b1e068c2fe02e26d94d;hb=afa31bdd9fd8ce01447275c48e2c1e73649e8343;hpb=a4bc0a6fa3a0389e2940b780fabc8a595a6b4a9c diff --git a/source/gles2n64/src/OpenGL.h b/source/gles2n64/src/OpenGL.h old mode 100644 new mode 100755 index 3db0743..b403d78 --- a/source/gles2n64/src/OpenGL.h +++ b/source/gles2n64/src/OpenGL.h @@ -10,6 +10,9 @@ // #include #include #endif +#ifdef USE_X11 + #include +#endif #ifndef min #define min(a,b) ((a) < (b) ? (a) : (b)) @@ -77,7 +80,8 @@ struct GLInfo #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; @@ -88,7 +92,6 @@ struct GLInfo EGLNativeDisplayType device; EGLNativeWindowType handle; } EGL; -*/ #endif bool screenUpdate;