summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-09-07 12:40:37 -0400
committerKristian Høgsberg <[email protected]>2010-09-07 12:41:09 -0400
commit60fce15447da7d4135ace6f1433896b0a02bcfee (patch)
treecf70f08d91eccb12d010866b2c6faf17dd1a1312 /src
parentae9487c29984addc96a6d617292370fbc3f8ff9a (diff)
glx: Move dpy and scr fields out of direct rendering conditional
Nothing direct rendering specific about these fields. Moving them out makes no-direct-rendering compilation work again. Signed-off-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/glx/glxclient.h6
1 files 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