diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glx/drisw_glx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index 2d83a50352b..833ea7d4cc1 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -87,9 +87,8 @@ XCreateDrawable(struct drisw_drawable * pdp, XChangeGC(dpy, pdp->swapgc, GCGraphicsExposures, &gcvalues); /* visual */ - visTemp.screen = DefaultScreen(dpy); visTemp.visualid = visualid; - visMask = (VisualScreenMask | VisualIDMask); + visMask = VisualIDMask; pdp->visinfo = XGetVisualInfo(dpy, visMask, &visTemp, &num_visuals); /* create XImage */ |