From fa7f46e85a1538738b318c37d592dce0f5731338 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 26 May 2009 22:48:17 +0200 Subject: [PATCH] winex11: Also define X11DRV_OpenGL_Cleanup() when OpenGL is not supported. --- dlls/winex11.drv/opengl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index 30eb95b71b..f207a3217c 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;