glx: Initialize have_back.
authorPierre Willenbrok <pierre@pirsoft.de>
Tue, 27 Apr 2010 21:53:28 +0000 (15:53 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 27 Apr 2010 21:53:28 +0000 (15:53 -0600)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/glx/dri2_glx.c

index 86b0a27648e158ddcb1798fb8aa96b13c8bfa776..1c344489c0cc6a88ac70a018a76fcd179206973b 100644 (file)
@@ -188,6 +188,7 @@ dri2CreateDrawable(__GLXscreenConfigs * psc,
    pdraw->base.psc = psc;
    pdraw->bufferCount = 0;
    pdraw->swap_interval = 1;
+   pdraw->have_back = 0;
 
    DRI2CreateDrawable(psc->dpy, xDrawable);