[Intel-gfx] [PATCH] compiz hack to use glXSwapBuffers all the time
Jesse Barnes
jbarnes at virtuousgeek.org
Fri Feb 13 01:58:44 CET 2009
Also removes the (now unnecessary) waitForVideoSync call.
diff --git a/src/display.c b/src/display.c
index 23b0ba1..134f69e 100644
--- a/src/display.c
+++ b/src/display.c
@@ -1608,7 +1608,7 @@ eventLoop (void)
timeDiff = 0;
makeScreenCurrent (s);
-
+ damageScreen(s);
if (s->slowAnimations)
{
(*s->preparePaintScreen) (s,
@@ -1680,7 +1680,7 @@ eventLoop (void)
targetScreen = NULL;
targetOutput = &s->outputDev[0];
- waitForVideoSync (s);
+ //waitForVideoSync (s);
if (mask & COMP_SCREEN_DAMAGE_ALL_MASK)
{
More information about the Intel-gfx
mailing list