projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0025990: Visualization - result of compilation depends on the order of included OCCT...
[occt.git]
/
src
/
InterfaceGraphic
/
InterfaceGraphic.hxx
diff --git
a/src/InterfaceGraphic/InterfaceGraphic.hxx
b/src/InterfaceGraphic/InterfaceGraphic.hxx
index
c59bd5d
..
80ac333
100644
(file)
--- a/
src/InterfaceGraphic/InterfaceGraphic.hxx
+++ b/
src/InterfaceGraphic/InterfaceGraphic.hxx
@@
-27,6
+27,10
@@
#include <stdio.h>
+// exclude modern definitions and system-provided glext.h, should be defined before gl.h inclusion
+#define GL_GLEXT_LEGACY
+#define GLX_GLXEXT_LEGACY
+
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>