Skip to content

Commit

Permalink
SDL2Window: Fix statix libepoxy/GLEW builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dscharrer committed Jan 4, 2018
1 parent da7683e commit 98b5870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/window/SDL2Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ bool SDL2Window::initialize() {
switch(info.subsystem) {
case ARX_SDL_SYSWM_X11: {
#if ARX_HAVE_GL_STATIC || !ARX_HAVE_DLSYM || !defined(RTLD_DEFAULT)
const bool haveGLX = ARX_HAVE_GLX
const bool haveGLX = ARX_HAVE_GLX;
#elif ARX_HAVE_EPOXY
const bool haveGLX = (dlsym(RTLD_DEFAULT, "epoxy_has_glx") != NULL);
#else
Expand All @@ -407,7 +407,7 @@ bool SDL2Window::initialize() {
case ARX_SDL_SYSWM_WAYLAND:
case ARX_SDL_SYSWM_MIR: {
#if ARX_HAVE_GL_STATIC || !ARX_HAVE_DLSYM || !defined(RTLD_DEFAULT)
const bool haveEGL = ARX_HAVE_EGL
const bool haveEGL = ARX_HAVE_EGL;
#elif ARX_HAVE_EPOXY
const bool haveEGL = (dlsym(RTLD_DEFAULT, "epoxy_has_egl") != NULL);
#else
Expand Down

0 comments on commit 98b5870

Please sign in to comment.