Mesa (master): Initialize DRI2 swap interval to 0
Kristian Høgsberg
krh at kemper.freedesktop.org
Wed Apr 14 14:15:18 UTC 2010
Module: Mesa
Branch: master
Commit: 0863c7e499a553c2d8e7bcbd09c5de88e396fcd0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0863c7e499a553c2d8e7bcbd09c5de88e396fcd0
Author: Michael Schmidt <mschmidt at redhat.com>
Date: Wed Apr 14 10:12:42 2010 -0400
Initialize DRI2 swap interval to 0
https://bugs.freedesktop.org/show_bug.cgi?id=27628
---
src/glx/dri2_glx.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index c4b5cb9..06f3d8b 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);
More information about the mesa-commit
mailing list