x11drv: Fix building issue.

This commit is contained in:
Roderick Colenbrander 2006-10-05 20:57:07 +02:00 committed by Alexandre Julliard
parent 67436f9dbd
commit 8be92001e6
2 changed files with 11 additions and 11 deletions

View File

@ -41,17 +41,6 @@
#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
#ifndef GL_TEXTURE_CUBE_MAP
# define GL_TEXTURE_CUBE_MAP 0x8513
#endif
/* X11 locking */
extern void (*wine_tsx11_lock_ptr)(void);

View File

@ -20,6 +20,17 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* 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
#ifndef GL_TEXTURE_CUBE_MAP
# define GL_TEXTURE_CUBE_MAP 0x8513
#endif
#define HPBUFFERARB void *
#define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000