summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/sis
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2004-09-25 21:08:30 +0000
committerEric Anholt <[email protected]>2004-09-25 21:08:30 +0000
commit97ac8282f518210f640293e427b0e811801f7b9f (patch)
tree62eed23fb21aa23236b7e22c2a4b3a5298b9b018 /src/mesa/drivers/dri/sis
parent18c459c10b7906791b4bfc092cf43071bcdc9038 (diff)
Can't bail in sisDDLogicOpCode when logicop is off, because it's called with
GL_COPY to turn off logicop. Fixes glean's logicop test.
Diffstat (limited to 'src/mesa/drivers/dri/sis')
-rw-r--r--src/mesa/drivers/dri/sis/sis_state.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_state.c b/src/mesa/drivers/dri/sis/sis_state.c
index decee53a742..4b1d2b00178 100644
--- a/src/mesa/drivers/dri/sis/sis_state.c
+++ b/src/mesa/drivers/dri/sis/sis_state.c
@@ -441,9 +441,6 @@ sisDDLogicOpCode( GLcontext *ctx, GLenum opcode )
__GLSiSHardware *prev = &smesa->prev;
__GLSiSHardware *current = &smesa->current;
- if (!ctx->Color.ColorLogicOpEnabled)
- return;
-
current->hwDstSet &= ~MASK_ROP2;
switch (opcode)
{