mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
Remove support for EGL under X11
Now, the only supported EGL platform is Android. We might eventually add back support for EGL/X11 or EGL/Wayland, but it will have to be architected differently.
This commit is contained in:
@ -7,12 +7,6 @@
|
||||
#include "Common/Thread.h"
|
||||
|
||||
#if USE_EGL
|
||||
// Currently Android/EGL and X11/EGL platforms are supported.
|
||||
|
||||
#if HAVE_X11
|
||||
#include "DolphinWX/GLInterface/X11_Util.h"
|
||||
#endif
|
||||
|
||||
#include "DolphinWX/GLInterface/EGL.h"
|
||||
#elif defined(__APPLE__)
|
||||
#include "DolphinWX/GLInterface/AGL.h"
|
||||
@ -31,13 +25,11 @@ typedef struct {
|
||||
EGLContext egl_ctx;
|
||||
EGLDisplay egl_dpy;
|
||||
EGLNativeWindowType native_window;
|
||||
#elif HAVE_X11
|
||||
GLXContext ctx;
|
||||
#endif
|
||||
#if defined(__APPLE__)
|
||||
#elif defined(__APPLE__)
|
||||
NSView *cocoaWin;
|
||||
NSOpenGLContext *cocoaCtx;
|
||||
#elif HAVE_X11
|
||||
GLXContext ctx;
|
||||
int screen;
|
||||
Window win;
|
||||
Window parent;
|
||||
|
Reference in New Issue
Block a user