1999-01-03 17:00:19 +00:00
|
|
|
/* Wrapper for OpenGL includes...
|
|
|
|
Copyright 1998 - Lionel Ulmer
|
|
|
|
|
|
|
|
This wrapper is needed because Mesa uses also the CALLBACK / WINAPI
|
|
|
|
constants. */
|
|
|
|
|
1999-06-12 18:36:54 +00:00
|
|
|
#ifndef __WINE_WINE_GL_H
|
|
|
|
#define __WINE_WINE_GL_H
|
1999-01-03 17:00:19 +00:00
|
|
|
|
1999-01-30 15:54:43 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
1999-07-23 19:33:24 +00:00
|
|
|
#if defined(HAVE_LIBMESAGL) && defined(HAVE_GL_GLX_H)
|
1999-01-30 15:54:43 +00:00
|
|
|
|
|
|
|
#define HAVE_MESAGL
|
1999-01-03 17:00:19 +00:00
|
|
|
|
|
|
|
#undef APIENTRY
|
|
|
|
#undef CALLBACK
|
|
|
|
#undef WINAPI
|
|
|
|
|
2000-01-15 22:24:47 +00:00
|
|
|
#define XMD_H /* This is to prevent the Xmd.h inclusion bug to happen :-/ */
|
1999-01-03 17:00:19 +00:00
|
|
|
#include <GL/gl.h>
|
1999-05-13 18:53:05 +00:00
|
|
|
#include <GL/glx.h>
|
2000-01-15 22:24:47 +00:00
|
|
|
#undef XMD_H
|
1999-01-03 17:00:19 +00:00
|
|
|
|
|
|
|
#undef APIENTRY
|
|
|
|
#undef CALLBACK
|
|
|
|
#undef WINAPI
|
|
|
|
|
|
|
|
/* Redefines the constants */
|
|
|
|
#define CALLBACK __stdcall
|
|
|
|
#define WINAPI __stdcall
|
|
|
|
#define APIENTRY WINAPI
|
|
|
|
|
1999-01-30 15:54:43 +00:00
|
|
|
#else /* HAVE_LIBMESAGL */
|
|
|
|
|
|
|
|
#undef HAVE_MESAGL
|
|
|
|
|
|
|
|
#endif /* HAVE_LIBMESAGL */
|
1999-01-03 17:00:19 +00:00
|
|
|
|
1999-06-12 18:36:54 +00:00
|
|
|
#endif /* __WINE_WINE_GL_H */
|