2
0
Эх сурвалжийг харах

Fix build samples under Linux, closes #4

Michael Ragazzon 6 жил өмнө
parent
commit
b926671763

+ 5 - 0
Samples/shell/include/ShellOpenGL.h

@@ -45,6 +45,11 @@
 #include <GL/gl.h>
 #include <GL/glext.h>
 #include <GL/glu.h>
+// The None define from X.h conflicts with Rocket code base,
+// we don't use it, so it should be safe to undefine.
+#ifdef None
+  #undef None
+#endif
 #endif
 
 #endif