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
1 changed files with 4 additions and 1 deletions

View File

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