GL/ContextEGL: Fix compiling with both DRM/KMS and X11 enabled

This commit is contained in:
Connor McLaughlin
2021-02-01 01:45:30 +10:00
parent dac9cdd04c
commit cbdf722dd6
2 changed files with 9 additions and 4 deletions

View File

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