Skip to content

Commit

Permalink
Cleanup|X11: Dealing again with X11 preprocessor defines
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jul 26, 2016
1 parent 7f5f21d commit 4afc21a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/sdk/libgui/src/graphics/glentrypoints.cpp
Expand Up @@ -23,6 +23,8 @@

#ifdef DENG_X11
# include <GL/glx.h>
# undef Always
# undef None
#endif

#ifdef LIBGUI_FETCH_GL_1_3
Expand Down
3 changes: 3 additions & 0 deletions doomsday/sdk/libgui/src/graphics/glentrypoints_x11.cpp
Expand Up @@ -26,6 +26,9 @@
#include <GL/glx.h>
#include <GL/glxext.h>

#undef None
#undef Always

PFNGLXSWAPINTERVALEXTPROC glXSwapIntervalEXT;

void getGLXEntryPoints()
Expand Down

0 comments on commit 4afc21a

Please sign in to comment.