1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0025990: Visualization - result of compilation depends on the order of included OCCT header files

Define GL_GLEXT_LEGACY within InterfaceGraphic.hxx
This commit is contained in:
kgv 2015-03-30 14:56:44 +03:00 committed by bugmaster
parent 53a701974a
commit dc5bfeae8b

View File

@ -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>