summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Schmidt <[email protected]>2010-04-14 10:12:42 -0400
committerKristian Høgsberg <[email protected]>2010-04-14 10:15:47 -0400
commitd9793fc3ac0986f8665e269ecf993705132d0360 (patch)
tree1587b326c8c56ca3b8cdf052c7b07e572773d16a
parent157bdd1446dd21cc87a89abdc890b2f6dc83af76 (diff)
Initialize DRI2 swap interval to 0
https://bugs.freedesktop.org/show_bug.cgi?id=27628
-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 c4b5cb9c2c4..06f3d8b71c0 100644
--- a/src/glx/dri2_glx.c
+++ b/src/glx/dri2_glx.c
@@ -185,6 +185,7 @@ dri2CreateDrawable(__GLXscreenConfigs * psc,
pdraw->base.drawable = drawable;
pdraw->base.psc = psc;
pdraw->bufferCount = 0;
+ pdraw->swap_interval = 0;
DRI2CreateDrawable(psc->dpy, xDrawable);