From: kgv Date: Mon, 30 Mar 2015 11:56:44 +0000 (+0300) Subject: 0025990: Visualization - result of compilation depends on the order of included OCCT... X-Git-Tag: V6_9_0_beta~10 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=dc5bfeae8b34a0cdddeaadfd5156c54ad1b838e3;p=occt-copy.git 0025990: Visualization - result of compilation depends on the order of included OCCT header files Define GL_GLEXT_LEGACY within InterfaceGraphic.hxx --- 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