summaryrefslogtreecommitdiffstats
path: root/src/glx/dri_glx.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-02-14 21:02:18 -0800
committerVinson Lee <vlee@vmware.com>2010-02-14 21:03:23 -0800
commit86d98fa4a2dfdae75e6ecd9a7e6e73d4183075a0 (patch)
treed59d36c91cb41b4115ae98d195715bc1701d71bb /src/glx/dri_glx.c
parent08cfe3ab421491644cf1bebaf47e8bc897e495c5 (diff)
glx: Silence uninitialized variable warning.
Diffstat (limited to 'src/glx/dri_glx.c')
-rw-r--r--src/glx/dri_glx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c
index 0ff53c324f5..f9fe9a25db4 100644
--- a/src/glx/dri_glx.c
+++ b/src/glx/dri_glx.c
@@ -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");