OSDN Git Service

Can't bail in sisDDLogicOpCode when logicop is off, because it's called with
authorEric Anholt <anholt@FreeBSD.org>
Sat, 25 Sep 2004 21:08:30 +0000 (21:08 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Sat, 25 Sep 2004 21:08:30 +0000 (21:08 +0000)
GL_COPY to turn off logicop.  Fixes glean's logicop test.

src/mesa/drivers/dri/sis/sis_state.c

index decee53..4b1d2b0 100644 (file)
@@ -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)
    {