From cc806f70b2749dd9013491f43f442f5b1fe7cc7f Mon Sep 17 00:00:00 2001 From: Pierre Willenbrok Date: Tue, 27 Apr 2010 15:53:28 -0600 Subject: glx: Initialize have_back. Signed-off-by: Brian Paul --- src/glx/dri2_glx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/glx') diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 86b0a27648e..1c344489c0c 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c @@ -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); -- cgit v1.2.3