@ -18,6 +18,8 @@
#include <GL/glxext.h>
#include <Utility/Debug.h>
#define None 0L // redef Xlib nonsense
namespace Magnum { namespace Contexts {
VisualID GlxContext::getVisualId(Display* nativeDisplay) {
@ -21,6 +21,9 @@
#include "Magnum.h"
#include <GL/glx.h>
/* undef Xlib nonsense to avoid conflicts */
#undef None
#undef Always
#include "AbstractContext.h"