diff --git a/src/Platform/Implementation/GlxContextHandler.cpp b/src/Platform/Implementation/GlxContextHandler.cpp index dc80b6c7e..cf96b3e11 100644 --- a/src/Platform/Implementation/GlxContextHandler.cpp +++ b/src/Platform/Implementation/GlxContextHandler.cpp @@ -30,8 +30,6 @@ #include "Context.h" -#define None 0L // redef Xlib nonsense - namespace Magnum { namespace Platform { namespace Implementation { VisualID GlxContextHandler::getVisualId(Display* nativeDisplay) { @@ -94,7 +92,7 @@ void GlxContextHandler::createContext(Window nativeWindow) { } GlxContextHandler::~GlxContextHandler() { - glXMakeCurrent(display, None, nullptr); + glXMakeCurrent(display, 0, nullptr); glXDestroyContext(display, context); }