[PATCH] netbsd: include glxext.h too.
Marcus Meissner
marcus at jet.franken.de
Sun Oct 22 14:48:49 CDT 2006
This is apparently needed on NetBSD, at least it is in their
patchset.
Ciao, Marcus
---
configure.ac | 2 +-
dlls/winex11.drv/opengl.c | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
b62970ad94c66ff1288ec38aa2e8f320b1edc2e9
diff --git a/configure.ac b/configure.ac
index ae7b762..44f5bbd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -393,7 +393,7 @@ then
dnl Check for the presence of OpenGL
if test "x$with_opengl" != "xno"
then
- AC_CHECK_HEADERS(GL/gl.h GL/glx.h GL/glext.h GL/glu.h,,,
+ AC_CHECK_HEADERS(GL/gl.h GL/glx.h GL/glext.h GL/glxext.h GL/glu.h,,,
[#ifdef HAVE_GL_GLX_H
# include <GL/glx.h>
#endif])
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index bdd08c4..da52378 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -49,6 +49,9 @@ WINE_DECLARE_DEBUG_CHANNEL(opengl);
#ifdef HAVE_GL_GLX_H
# include <GL/glx.h>
#endif
+#ifdef HAVE_GL_GLXEXT_H
+# include <GL/glxext.h>
+#endif
#ifdef HAVE_GL_GLEXT_H
# include <GL/glext.h>
#endif
--
1.2.4
More information about the wine-patches
mailing list