From dc5bfeae8b34a0cdddeaadfd5156c54ad1b838e3 Mon Sep 17 00:00:00 2001 From: kgv Date: Mon, 30 Mar 2015 14:56:44 +0300 Subject: [PATCH] 0025990: Visualization - result of compilation depends on the order of included OCCT header files Define GL_GLEXT_LEGACY within InterfaceGraphic.hxx --- src/InterfaceGraphic/InterfaceGraphic.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/InterfaceGraphic/InterfaceGraphic.hxx b/src/InterfaceGraphic/InterfaceGraphic.hxx index c59bd5d1a0..80ac333f7a 100644 --- a/src/InterfaceGraphic/InterfaceGraphic.hxx +++ b/src/InterfaceGraphic/InterfaceGraphic.hxx @@ -27,6 +27,10 @@ #include +// exclude modern definitions and system-provided glext.h, should be defined before gl.h inclusion +#define GL_GLEXT_LEGACY +#define GLX_GLXEXT_LEGACY + #include #include #include