summaryrefslogtreecommitdiff
path: root/extra/xorg-server/bug59825.patch
blob: b405d136d56c4cfda2bb2416de0a1b06fe1926c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -U 3 -b -d -p -r -- a/glx/glxdri.c b/glx/glxdri.c
--- a/glx/glxdri.c	2013-01-24 22:14:35.216092949 +0100
+++ b/glx/glxdri.c	2013-01-24 22:13:48.499427991 +0100
@@ -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,