diff options
author | Brian Paul <[email protected]> | 2005-09-04 22:20:07 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-09-04 22:20:07 +0000 |
commit | 16e7aebfe39bdd9c9fecb03ca3b0b617c2b449c8 (patch) | |
tree | 4e99136c37fe5d8a7ccde4eec6bbac139e547e92 /src/mesa/drivers/dri/radeon/radeon_lock.c | |
parent | 87ce68e1b305b844f1ff72d79ef68dad48c63fc3 (diff) |
Simplify radeonSetCliprects(). Remove the 'mode' parameter.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_lock.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_lock.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_lock.c b/src/mesa/drivers/dri/radeon/radeon_lock.c index 144e11d4910..591595e6321 100644 --- a/src/mesa/drivers/dri/radeon/radeon_lock.c +++ b/src/mesa/drivers/dri/radeon/radeon_lock.c @@ -89,10 +89,7 @@ void radeonGetLock( radeonContextPtr rmesa, GLuint flags ) if ( rmesa->lastStamp != dPriv->lastStamp ) { radeonUpdatePageFlipping( rmesa ); - if (rmesa->glCtx->DrawBuffer->_ColorDrawBufferMask[0] == BUFFER_BIT_BACK_LEFT) - radeonSetCliprects( rmesa, GL_BACK_LEFT ); - else - radeonSetCliprects( rmesa, GL_FRONT_LEFT ); + radeonSetCliprects( rmesa ); radeonUpdateViewportOffset( rmesa->glCtx ); rmesa->lastStamp = dPriv->lastStamp; } |