with pfCurrentPage value, in case it's initially 1 instead of 0.
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;
}
r200UpdatePageFlipping( r200ContextPtr rmesa )
{
rmesa->doPageFlip = rmesa->sarea->pfState;
- if (!rmesa->doPageFlip) {
- driFlipRenderbuffers(rmesa->glCtx->WinSysDrawBuffer, GL_FALSE);
- }
+ driFlipRenderbuffers(rmesa->glCtx->WinSysDrawBuffer,
+ rmesa->sarea->pfCurrentPage);
}
radeonUpdatePageFlipping( radeonContextPtr rmesa )
{
rmesa->doPageFlip = rmesa->sarea->pfState;
- if (!rmesa->doPageFlip) {
- driFlipRenderbuffers(rmesa->glCtx->WinSysDrawBuffer, GL_FALSE);
- }
+ driFlipRenderbuffers(rmesa->glCtx->WinSysDrawBuffer,
+ rmesa->sarea->pfCurrentPage);
}