From e301564170f4e609bf2a2bd7ac6699216f853937 Mon Sep 17 00:00:00 2001
From: Alexandre Julliard <julliard@winehq.org>
Date: Mon, 18 Nov 2002 19:50:02 +0000
Subject: [PATCH] Added empty X11DRV_OpenGL_Init for the non-OpenGL case.

---
 graphics/x11drv/opengl.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/graphics/x11drv/opengl.c b/graphics/x11drv/opengl.c
index 10865cf80ed..5023dddbf5e 100644
--- a/graphics/x11drv/opengl.c
+++ b/graphics/x11drv/opengl.c
@@ -431,6 +431,10 @@ XVisualInfo *X11DRV_setup_opengl_visual( Display *display )
 
 #else  /* no OpenGL includes */
 
+void X11DRV_OpenGL_Init(Display *display)
+{
+}
+
 int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev,
 			     const PIXELFORMATDESCRIPTOR *ppfd) {
   ERR("No OpenGL support compiled in.\n");
-- 
GitLab