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 <krh@bitplanet.net>
This commit is contained in:
Kristian Høgsberg
2010-09-07 12:40:37 -04:00
parent ae9487c299
commit 60fce15447
+3 -3
View File
@@ -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