Mesa (master): Initialize have_back.
Eric Anholt
anholt at kemper.freedesktop.org
Wed Apr 28 00:14:39 UTC 2010
Module: Mesa
Branch: master
Commit: d20fce057ee94fc3441c01a9e54cb5e19f7ddfd3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d20fce057ee94fc3441c01a9e54cb5e19f7ddfd3
Author: Pierre Willenbrock <pierre at pirsoft.de>
Date: Tue Apr 27 23:16:46 2010 +0200
Initialize have_back.
There is a user somewhere that tests it before its initial set.
Signed-off-by: Eric Anholt <eric at anholt.net>
---
src/glx/dri2_glx.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index 9347611..73d11f1 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);
More information about the mesa-commit
mailing list