summaryrefslogtreecommitdiff
path: root/src/mach64_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mach64_lock.c')
-rw-r--r--src/mach64_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mach64_lock.c b/src/mach64_lock.c
index b73e350..13e212b 100644
--- a/src/mach64_lock.c
+++ b/src/mach64_lock.c
@@ -70,7 +70,7 @@ void mach64GetLock( mach64ContextPtr mmesa, GLuint flags )
if ( mmesa->lastStamp != dPriv->lastStamp ) {
mmesa->lastStamp = dPriv->lastStamp;
- if (mmesa->glCtx->DrawBuffer->_ColorDrawBufferMask[0] == BUFFER_BIT_BACK_LEFT)
+ if (mmesa->glCtx->DrawBuffer->_ColorDrawBufferIndexes[0] == BUFFER_BACK_LEFT)
mach64SetCliprects( mmesa->glCtx, GL_BACK_LEFT );
else
mach64SetCliprects( mmesa->glCtx, GL_FRONT_LEFT );