From 97ac8282f518210f640293e427b0e811801f7b9f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 25 Sep 2004 21:08:30 +0000 Subject: [PATCH] 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. --- src/mesa/drivers/dri/sis/sis_state.c | 3 --- 1 file changed, 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) { -- 2.30.2