From: Michael Schmidt Date: Wed, 14 Apr 2010 14:12:42 +0000 (-0400) Subject: Initialize DRI2 swap interval to 0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0863c7e499a553c2d8e7bcbd09c5de88e396fcd0;p=mesa.git Initialize DRI2 swap interval to 0 https://bugs.freedesktop.org/show_bug.cgi?id=27628 --- 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);