Correct GL_EQUIV code in r67/7xx.
authorMatthew W. S. Bell <matthew@bells23.org.uk>
Mon, 15 Mar 2010 01:18:02 +0000 (01:18 +0000)
committerAlex Deucher <alexdeucher@gmail.com>
Tue, 16 Mar 2010 15:39:53 +0000 (11:39 -0400)
From 247e121106e8d3e389f2e5a6edf13ea70ac18df7 Mon Sep 17 00:00:00 2001

These seem to be documented in
<http://www.svgopen.org/2003/papers/RasterOperationsUsingFilterElements/index.html>.

src/mesa/drivers/dri/r600/r700_state.c

index 6f156b54096fbcdb0f2876217a3c92b618cddbd6..12eaebbc16b6b6dd2e38cd213d6252fd031a0fb1 100644 (file)
@@ -614,7 +614,7 @@ static GLuint translate_logicop(GLenum logicop)
        case GL_XOR:
                return 0x66;
        case GL_EQUIV:
-               return 0xaa;
+               return 0x99;
        case GL_AND_REVERSE:
                return 0x44;
        case GL_AND_INVERTED: