Initialize have_back.

There is a user somewhere that tests it before its initial set.

Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Pierre Willenbrock 2010-04-27 23:16:46 +02:00 committed by Eric Anholt
parent edad36cff9
commit d20fce057e

View file

@ -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);