Commit cc3d1a5a authored by Piotr Dziwinski's avatar Piotr Dziwinski Committed by Keith Packard

glx: fix uninitialized var in __glXDRIscreenProbe

Fixes: default avatarPiotr Dziwinski <>
Reviewed-by: Keith Packard's avatarKeith Packard <>
Signed-off-by: Keith Packard's avatarKeith Packard <>
parent c2ede8f9
......@@ -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) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment