From 0863c7e499a553c2d8e7bcbd09c5de88e396fcd0 Mon Sep 17 00:00:00 2001 From: Michael Schmidt Date: Wed, 14 Apr 2010 10:12:42 -0400 Subject: [PATCH] Initialize DRI2 swap interval to 0 https://bugs.freedesktop.org/show_bug.cgi?id=27628 --- src/glx/dri2_glx.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2