diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2013-02-23 13:14:45 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-03-18 16:29:49 -0700 |
commit | cc3d1a5a6120e721a46c67446ba68f5596055633 (patch) | |
tree | 5d6460a26c428f33acc1562dbbf964fd6a62fc89 /glx | |
parent | c2ede8f92f0d6f15b1b2a04889cb54cd1728780b (diff) |
glx: fix uninitialized var in __glXDRIscreenProbe
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=59825
Signed-off-by: Piotr Dziwinski <piotrdz@gmail.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
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, |