summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
authorPierre Willenbrok <pierre@pirsoft.de>2010-04-27 15:53:28 -0600
committerBrian Paul <brianp@vmware.com>2010-04-27 15:53:28 -0600
commitcc806f70b2749dd9013491f43f442f5b1fe7cc7f (patch)
treef2085ef4c3afc02fa7bc3853bd8e15e95760bcd2 /src/glx
parenta1cb3babbef2af222b839a058694acc82a7074f1 (diff)
glx: Initialize have_back.
Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/dri2_glx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index 86b0a27648..1c344489c0 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);