GL/Context: Don't choke on X11+Wayland

This commit is contained in:
Connor McLaughlin 2020-09-23 19:46:39 +10:00
parent be585c9f68
commit 2aace1b503

View file

@ -16,10 +16,13 @@ Log_SetChannel(GL::Context);
#endif #endif
#ifdef USE_EGL #ifdef USE_EGL
#if defined(USE_X11) || defined(USE_WAYLAND)
#if defined(USE_X11) #if defined(USE_X11)
#include "context_egl_x11.h" #include "context_egl_x11.h"
#elif defined(USE_WAYLAND) #endif
#if defined(USE_WAYLAND)
#include "context_egl_wayland.h" #include "context_egl_wayland.h"
#endif
#elif defined(ANDROID) #elif defined(ANDROID)
#include "context_egl_android.h" #include "context_egl_android.h"
#else #else