Initialize DRI2 swap interval to 0
authorMichael Schmidt <mschmidt@redhat.com>
Wed, 14 Apr 2010 14:12:42 +0000 (10:12 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 14 Apr 2010 14:12:42 +0000 (10:12 -0400)
https://bugs.freedesktop.org/show_bug.cgi?id=27628

src/glx/dri2_glx.c

index c4b5cb9c2c4b68e079c0570cf512f762cc8cf8a1..06f3d8b71c02a876ebcee5165a9fe1ebed9b8a36 100644 (file)
@@ -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);