From 60fce15447da7d4135ace6f1433896b0a02bcfee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 7 Sep 2010 12:40:37 -0400 Subject: [PATCH] glx: Move dpy and scr fields out of direct rendering conditional MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Nothing direct rendering specific about these fields. Moving them out makes no-direct-rendering compilation work again. Signed-off-by: Kristian Høgsberg --- src/glx/glxclient.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index 81c9a266696..813547ae51a 100644 --- a/src/glx/glxclient.h +++ b/src/glx/glxclient.h @@ -494,13 +494,13 @@ struct glx_screen struct glx_display *display; + Display *dpy; + int scr; + #if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL) /** * Per screen direct rendering interface functions and data. */ - Display *dpy; - int scr; - __GLXDRIscreen *driScreen; #endif -- 2.30.2