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:
+3
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user