diff options
Diffstat (limited to 'glx')
-rw-r--r-- | glx/glxdri.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glx/glxdri.c b/glx/glxdri.c index da4646845..a997e2f8a 100644 --- a/glx/glxdri.c +++ b/glx/glxdri.c @@ -971,6 +971,8 @@ __glXDRIscreenProbe(ScreenPtr pScreen) size_t buffer_size; ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); + framebuffer.base = NULL; + if (!xf86LoaderCheckSymbol("DRIQueryDirectRenderingCapable") || !DRIQueryDirectRenderingCapable(pScreen, &isCapable) || !isCapable) { LogMessage(X_INFO, |