mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-06 18:26:22 +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:
parent
53a701974a
commit
dc5bfeae8b
@ -27,6 +27,10 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#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/Xlib.h>
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
#include <X11/Xatom.h>
|
#include <X11/Xatom.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user