#undef WINAPI
#define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */
-#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
-#include <GL/glx.h>
-#ifdef HAVE_GL_GLEXT_H
-# include <GL/glext.h>
-#endif
#undef XMD_H
#undef APIENTRY
#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);
typedef struct {
const char *name; /* name of the extension */
- const char *glx_name; /* name used on Unix's libGL */
+ const char *extension; /* name of the GL/WGL extension */
void *func; /* pointer to the Wine function for this extension */
} OpenGL_extension;
extern const OpenGL_extension extension_registry[];
extern const int extension_registry_size;
-const GLubyte* internal_glGetString(GLenum name);
-void internal_glGetIntegerv(GLenum pname, GLint* params);
-
#endif /* __DLLS_OPENGL32_OPENGL_EXT_H */