From: Pierre Willenbrock Date: Tue, 27 Apr 2010 21:16:46 +0000 (+0200) Subject: Initialize have_back. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d20fce057ee94fc3441c01a9e54cb5e19f7ddfd3;p=mesa.git Initialize have_back. There is a user somewhere that tests it before its initial set. Signed-off-by: Eric Anholt --- diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 9347611e7d8..73d11f14a14 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c @@ -194,6 +194,7 @@ dri2CreateDrawable(__GLXscreenConfigs * psc, pdraw->base.psc = psc; pdraw->bufferCount = 0; pdraw->swap_interval = 1; /* default may be overridden below */ + pdraw->have_back = 0; if (psc->config) psc->config->configQueryi(psc->__driScreen, "vblank_mode", &vblank_mode);