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 decee53a742e5d0b3c2642301a231deec8afe5fa..4b1d2b00178db6c1509bcc3622555d0c9d081457 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)
    {