summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2009-02-06 20:47:01 +0100
committerMaarten Maathuis <madman2003@gmail.com>2009-02-07 21:58:17 +0100
commitffa72793e25f19a388a1369708f472921f721284 (patch)
tree8f7fb93c9e8912adb69102147cc3542b4e2a4dd7 /exa
parentda086901c6579e41b28b1418fa12ebb82744fc87 (diff)
exa: Calling exaMarkSync after UTS is the drivers responsibility.
Diffstat (limited to 'exa')
-rw-r--r--exa/exa_migration.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exa/exa_migration.c b/exa/exa_migration.c
index 19e0f71d9..8fb6d2f8d 100644
--- a/exa/exa_migration.c
+++ b/exa/exa_migration.c
@@ -231,7 +231,7 @@ exaCopyDirty(ExaMigrationPtr migrate, RegionPtr pValidDst, RegionPtr pValidSrc,
if (access_prepared)
exaFinishAccess(&pPixmap->drawable, fallback_index);
- else if (need_sync)
+ else if (need_sync && sync)
sync (pPixmap->drawable.pScreen);
pExaPixmap->offscreen = save_offscreen;
@@ -276,7 +276,7 @@ exaCopyDirtyToFb (ExaMigrationPtr migrate)
exaCopyDirty(migrate, &pExaPixmap->validFB, &pExaPixmap->validSys,
pExaScr->info->UploadToScreen, pExaPixmap->sys_ptr,
pExaPixmap->fb_ptr, pExaPixmap->sys_pitch,
- pExaPixmap->fb_pitch, EXA_PREPARE_DEST, exaMarkSync);
+ pExaPixmap->fb_pitch, EXA_PREPARE_DEST, NULL);
}
/**