winex11.drv: Also define X11DRV_OpenGL_Cleanup() when OpenGL is not supported.

Francois Gouget fgouget at free.fr
Tue May 26 15:48:17 CDT 2009


---

We still need if SONAME_LIBGL is not defined (either that or we need to 
add an #ifdef in x11drv_main.c.

 dlls/winex11.drv/opengl.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 30eb95b..f207a32 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -3635,6 +3635,10 @@ XVisualInfo *visual_from_fbconfig_id( XID fbconfig_id )
 
 #else  /* no OpenGL includes */
 
+void X11DRV_OpenGL_Cleanup(void)
+{
+}
+
 static inline void opengl_error(void)
 {
     static int warned;
-- 
1.6.2.4



More information about the wine-patches mailing list