Browse Source

Undefine None from Xlib.h to avoid conflicts (e.g. in Framebuffer).

vectorfields
Vladimír Vondruš 14 years ago
parent
commit
59ca55abe0
  1. 3
      src/Contexts/EglContext.h

3
src/Contexts/EglContext.h

@ -22,6 +22,9 @@
#include "Magnum.h"
#include <X11/Xlib.h>
#ifdef None // undef Xlib nonsense to avoid conflicts
#undef None
#endif
#ifndef SUPPORT_X11
#define SUPPORT_X11 // OpenGL ES on BeagleBoard needs this (?)

Loading…
Cancel
Save