From 5f0031eb3b51ea2279cce60cd1f36fe2a2268520 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 9 May 2005 19:30:53 +0000 Subject: [PATCH] Define GLX_SAMPLE_BUFFERS_ARB and GLX_SAMPLES_ARB if they were not defined by the OpenGL headers. --- dlls/opengl32/opengl_ext.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dlls/opengl32/opengl_ext.h b/dlls/opengl32/opengl_ext.h index 90722e5d5b..eaf9359ced 100644 --- a/dlls/opengl32/opengl_ext.h +++ b/dlls/opengl32/opengl_ext.h @@ -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); -- 2.32.0.93.g670b81a890