Define GLX_SAMPLE_BUFFERS_ARB and GLX_SAMPLES_ARB if they were not

defined by the OpenGL headers.
This commit is contained in:
Francois Gouget 2005-05-09 19:30:53 +00:00 committed by Alexandre Julliard
parent 34fa35dc99
commit 5f0031eb3b

View File

@ -40,6 +40,14 @@
#define WINAPI __stdcall
#define APIENTRY WINAPI
/* For compatibility with old Mesa headers */
#ifndef GLX_SAMPLE_BUFFERS_ARB
# define GLX_SAMPLE_BUFFERS_ARB 100000
#endif
#ifndef GLX_SAMPLES_ARB
# define GLX_SAMPLES_ARB 100001
#endif
/* X11 locking */
extern void (*wine_tsx11_lock_ptr)(void);