work around broken system glx.h

This commit is contained in:
David Rose 2005-02-01 20:28:42 +00:00
parent 1d8b862db4
commit b9d9739fd5

View File

@ -120,6 +120,16 @@ extern "C" {
#define GLX_SAMPLES 100001
#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
#endif