glx: Silence uninitialized variable warning.
authorVinson Lee <vlee@vmware.com>
Mon, 15 Feb 2010 05:02:18 +0000 (21:02 -0800)
committerVinson Lee <vlee@vmware.com>
Mon, 15 Feb 2010 05:03:23 +0000 (21:03 -0800)
src/glx/dri_glx.c

index 0ff53c324f5b576125024147a7200ae1c3e6d07d..f9fe9a25db428804dc1f752b84aa400ab8ff2ec9 100644 (file)
@@ -323,6 +323,7 @@ CallCreateNewScreen(Display * dpy, int scrn, __GLXscreenConfigs * psc,
 
    framebuffer.base = MAP_FAILED;
    framebuffer.dev_priv = NULL;
+   framebuffer.size = 0;
 
    if (!XF86DRIOpenConnection(dpy, scrn, &hSAREA, &BusID)) {
       ErrorMessageF("XF86DRIOpenConnection failed\n");