summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r128/r128_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/r128/r128_lock.c')
-rw-r--r--src/mesa/drivers/dri/r128/r128_lock.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_lock.c b/src/mesa/drivers/dri/r128/r128_lock.c
index ff11eb6848..d7c35afff3 100644
--- a/src/mesa/drivers/dri/r128/r128_lock.c
+++ b/src/mesa/drivers/dri/r128/r128_lock.c
@@ -52,10 +52,8 @@ static void
r128UpdatePageFlipping( r128ContextPtr rmesa )
{
rmesa->doPageFlip = rmesa->sarea->pfAllowPageFlip;
- if (!rmesa->doPageFlip) {
- driFlipRenderbuffers(rmesa->glCtx->WinSysDrawBuffer, GL_FALSE);
- }
-
+ driFlipRenderbuffers(rmesa->glCtx->WinSysDrawBuffer,
+ rmesa->sarea->pfCurrentPage);
rmesa->new_state |= R128_NEW_WINDOW;
}