mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
7be462dd31
- fix the detection of DGA 2 in configure script
41 lines
757 B
C
41 lines
757 B
C
/* Wrapper for OpenGL includes...
|
|
Copyright 1998 - Lionel Ulmer
|
|
|
|
This wrapper is needed because Mesa uses also the CALLBACK / WINAPI
|
|
constants. */
|
|
|
|
#ifndef __WINE_WINE_GL_H
|
|
#define __WINE_WINE_GL_H
|
|
|
|
#include "config.h"
|
|
|
|
#if defined(HAVE_LIBMESAGL) && defined(HAVE_GL_GLX_H)
|
|
|
|
#define HAVE_MESAGL
|
|
|
|
#undef APIENTRY
|
|
#undef CALLBACK
|
|
#undef WINAPI
|
|
|
|
#define XMD_H /* This is to prevent the Xmd.h inclusion bug to happen :-/ */
|
|
#include <GL/gl.h>
|
|
#include <GL/glx.h>
|
|
#undef XMD_H
|
|
|
|
#undef APIENTRY
|
|
#undef CALLBACK
|
|
#undef WINAPI
|
|
|
|
/* Redefines the constants */
|
|
#define CALLBACK __stdcall
|
|
#define WINAPI __stdcall
|
|
#define APIENTRY WINAPI
|
|
|
|
#else /* HAVE_LIBMESAGL */
|
|
|
|
#undef HAVE_MESAGL
|
|
|
|
#endif /* HAVE_LIBMESAGL */
|
|
|
|
#endif /* __WINE_WINE_GL_H */
|