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

Alexandre Julliard julliard at winehq.org
Wed May 27 09:26:50 CDT 2009


Module: wine
Branch: master
Commit: fa7f46e85a1538738b318c37d592dce0f5731338
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fa7f46e85a1538738b318c37d592dce0f5731338

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue May 26 22:48:17 2009 +0200

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

---

 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;




More information about the wine-cvs mailing list