From 16e7aebfe39bdd9c9fecb03ca3b0b617c2b449c8 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 4 Sep 2005 22:20:07 +0000 Subject: Simplify radeonSetCliprects(). Remove the 'mode' parameter. --- src/mesa/drivers/dri/radeon/radeon_lock.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mesa/drivers/dri/radeon/radeon_lock.c') diff --git a/src/mesa/drivers/dri/radeon/radeon_lock.c b/src/mesa/drivers/dri/radeon/radeon_lock.c index 144e11d491..591595e632 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; } -- cgit v1.2.3