mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-21 06:32:33 -04:00
work around broken system glx.h
This commit is contained in:
parent
1d8b862db4
commit
b9d9739fd5
@ -120,6 +120,16 @@ extern "C" {
|
|||||||
#define GLX_SAMPLES 100001
|
#define GLX_SAMPLES 100001
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* drose: the version of GL/glx.h that ships with Fedora Core 2 seems
|
||||||
|
to define GLX_VERSION_1_4, but for some reason does not define
|
||||||
|
GLX_SAMPLE_BUFFERS or GLX_SAMPLES. We work around that here. */
|
||||||
|
#ifndef GLX_SAMPLE_BUFFERS
|
||||||
|
#define GLX_SAMPLE_BUFFERS 100000
|
||||||
|
#endif
|
||||||
|
#ifndef GLX_SAMPLES
|
||||||
|
#define GLX_SAMPLES 100001
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GLX_ARB_get_proc_address
|
#ifndef GLX_ARB_get_proc_address
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user