summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon_dri.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c
index be8e74f1..73f9844b 100644
--- a/src/radeon_dri.c
+++ b/src/radeon_dri.c
@@ -1910,6 +1910,14 @@ static void RADEONEnablePageFlip(ScreenPtr pScreen)
RADEONSAREAPrivPtr pSAREAPriv = DRIGetSAREAPrivate(pScreen);
pSAREAPriv->pfAllowPageFlip = 1;
+
+#ifdef USE_XAA
+ if (!info->useEXA) {
+ BoxRec box = { .x1 = 0, .y1 = 0, .x2 = pScrn->virtualX - 1,
+ .y2 = pScrn->virtualY - 1 };
+ RADEONDRIRefreshArea(pScrn, 1, &box);
+ }
+#endif
}
#endif
}