summaryrefslogtreecommitdiffstats
path: root/src/glx
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:12:42 -0400
commit0863c7e499a553c2d8e7bcbd09c5de88e396fcd0 (patch)
tree1ae58a1242b1d0cf7dd1de5f72dcf9d4d78124c8 /src/glx
parenta30f7eb06443470ec6c36e4d658ca91d19bfb5a6 (diff)
Initialize DRI2 swap interval to 0
https://bugs.freedesktop.org/show_bug.cgi?id=27628
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 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);