diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r128/r128_lock.c | 6 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_lock.c | 5 | ||||
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_lock.c | 5 |
3 files changed, 6 insertions, 10 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; } diff --git a/src/mesa/drivers/dri/r200/r200_lock.c b/src/mesa/drivers/dri/r200/r200_lock.c index 1279cd70f9..6c619e2607 100644 --- a/src/mesa/drivers/dri/r200/r200_lock.c +++ b/src/mesa/drivers/dri/r200/r200_lock.c @@ -53,9 +53,8 @@ static void r200UpdatePageFlipping( r200ContextPtr rmesa ) { rmesa->doPageFlip = rmesa->sarea->pfState; - if (!rmesa->doPageFlip) { - driFlipRenderbuffers(rmesa->glCtx->WinSysDrawBuffer, GL_FALSE); - } + driFlipRenderbuffers(rmesa->glCtx->WinSysDrawBuffer, + rmesa->sarea->pfCurrentPage); } diff --git a/src/mesa/drivers/dri/radeon/radeon_lock.c b/src/mesa/drivers/dri/radeon/radeon_lock.c index c342b11508..144e11d491 100644 --- a/src/mesa/drivers/dri/radeon/radeon_lock.c +++ b/src/mesa/drivers/dri/radeon/radeon_lock.c @@ -55,9 +55,8 @@ static void radeonUpdatePageFlipping( radeonContextPtr rmesa ) { rmesa->doPageFlip = rmesa->sarea->pfState; - if (!rmesa->doPageFlip) { - driFlipRenderbuffers(rmesa->glCtx->WinSysDrawBuffer, GL_FALSE); - } + driFlipRenderbuffers(rmesa->glCtx->WinSysDrawBuffer, + rmesa->sarea->pfCurrentPage); } |