From 60fce15447da7d4135ace6f1433896b0a02bcfee Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Tue, 7 Sep 2010 12:40:37 -0400 Subject: glx: Move dpy and scr fields out of direct rendering conditional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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(-) (limited to 'src/glx') diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index 81c9a26669..813547ae51 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 -- cgit v1.2.3