summaryrefslogtreecommitdiff
path: root/xc/lib/GL/mesa/src
diff options
context:
space:
mode:
authorkeithw <keithw>2000-07-11 13:46:13 +0000
committerkeithw <keithw>2000-07-11 13:46:13 +0000
commit14b96d5541f01902e01a5a5f5078feb83e917d84 (patch)
treeb2368f19f64f9dd7eee1509def9faca9ccc785d0 /xc/lib/GL/mesa/src
parentab4d7baa881ddf189b29bfa8c5005545158c87cb (diff)
minor logicop change
Diffstat (limited to 'xc/lib/GL/mesa/src')
-rw-r--r--xc/lib/GL/mesa/src/drv/mga/mgastate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xc/lib/GL/mesa/src/drv/mga/mgastate.c b/xc/lib/GL/mesa/src/drv/mga/mgastate.c
index 391b43745..53c16f5b9 100644
--- a/xc/lib/GL/mesa/src/drv/mga/mgastate.c
+++ b/xc/lib/GL/mesa/src/drv/mga/mgastate.c
@@ -152,7 +152,7 @@ static void mgaDDLogicOp( GLcontext *ctx, GLenum opcode )
if (ctx->Color.ColorLogicOpEnabled) {
FLUSH_BATCH( MGA_CONTEXT(ctx) );
- if (opcode == GL_SET)
+ if (opcode == GL_COPY)
MGA_CONTEXT(ctx)->Fallback &= ~MGA_FALLBACK_LOGICOP;
else
MGA_CONTEXT(ctx)->Fallback |= MGA_FALLBACK_LOGICOP;
@@ -681,7 +681,7 @@ static void mgaDDEnable(GLcontext *ctx, GLenum cap, GLboolean state)
FLUSH_BATCH( mmesa );
#if !defined(ACCEL_ROP)
mmesa->Fallback &= ~MGA_FALLBACK_LOGICOP;
- if (state && ctx->Color.LogicOp != GL_SET)
+ if (state && ctx->Color.LogicOp != GL_COPY)
mmesa->Fallback |= MGA_FALLBACK_LOGICOP;
#else
mmesa->new_state |= MGA_NEW_DEPTH;