Index: xorg-server-1.13.2/glx/glxdri.c =================================================================== --- xorg-server-1.13.2/glx/glxdri.c +++ xorg-server-1.13.2/glx/glxdri.c @@ -971,13 +971,15 @@ __glXDRIscreenProbe(ScreenPtr pScreen) size_t buffer_size; ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); + framebuffer.base = NULL; + if (!xf86LoaderCheckSymbol("DRIQueryDirectRenderingCapable") || !DRIQueryDirectRenderingCapable(pScreen, &isCapable) || !isCapable) { LogMessage(X_INFO, "AIGLX: Screen %d is not DRI capable\n", pScreen->myNum); return NULL; } - + screen = calloc(1, sizeof *screen); if (screen == NULL) return NULL;