From f469b6f8de3ae375811e687e4ebba7fb10ec332a Mon Sep 17 00:00:00 2001 From: "H. Verbeet" Date: Wed, 28 Sep 2005 18:12:00 +0000 Subject: [PATCH] Fix missing prototypes when using nVidia OpenGL headers. --- dlls/d3d8/d3d8_private.h | 1 + dlls/opengl32/opengl_ext.h | 1 + include/wine/wined3d_gl.h | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/d3d8/d3d8_private.h b/dlls/d3d8/d3d8_private.h index f0f43af02c4..7f0d928011f 100644 --- a/dlls/d3d8/d3d8_private.h +++ b/dlls/d3d8/d3d8_private.h @@ -29,6 +29,7 @@ /* THIS FILE MUST NOT CONTAIN X11 or MESA DEFINES */ #define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */ +#define GL_GLEXT_PROTOTYPES #include #define GLX_GLXEXT_PROTOTYPES #include diff --git a/dlls/opengl32/opengl_ext.h b/dlls/opengl32/opengl_ext.h index 0e18dc4e022..a5866366de5 100644 --- a/dlls/opengl32/opengl_ext.h +++ b/dlls/opengl32/opengl_ext.h @@ -24,6 +24,7 @@ #undef WINAPI #define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */ +#define GL_GLEXT_PROTOTYPES #include #include #ifdef HAVE_GL_GLEXT_H diff --git a/include/wine/wined3d_gl.h b/include/wine/wined3d_gl.h index 4278446928e..752283aca64 100644 --- a/include/wine/wined3d_gl.h +++ b/include/wine/wined3d_gl.h @@ -34,8 +34,8 @@ #undef WINAPI #define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */ -#include #define GL_GLEXT_PROTOTYPES +#include #define GLX_GLXEXT_PROTOTYPES #include #ifdef HAVE_GL_GLEXT_H -- 2.11.4.GIT