Browse Source

Platform: remove #define None.

We need to live without that.
pull/51/head
Vladimír Vondruš 13 years ago
parent
commit
a96bd348d2
  1. 4
      src/Platform/Implementation/GlxContextHandler.cpp

4
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);
}

Loading…
Cancel
Save