diff options
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/dri3_glx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c index 71ecebbc16c..aec803adfd8 100644 --- a/src/glx/dri3_glx.c +++ b/src/glx/dri3_glx.c @@ -372,7 +372,9 @@ dri3_create_drawable(struct glx_screen *base, XID xDrawable, pdraw->base.psc = &psc->base; if ((psc->image && psc->image->base.version >= 15) && - (pdp->dri3Major > 1 || (pdp->dri3Major == 1 && pdp->dri3Minor >= 2))) + (pdp->dri3Major > 1 || (pdp->dri3Major == 1 && pdp->dri3Minor >= 2)) && + (pdp->presentMajor > 1 || + (pdp->presentMajor == 1 && pdp->presentMinor >= 2))) has_multibuffer = true; (void) __glXInitialize(psc->base.dpy); |