[intel] Fix copy'n'pasteo in decoding of the blit clear packet.
authorEric Anholt <eric@anholt.net>
Tue, 27 Nov 2007 18:57:28 +0000 (10:57 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 18 Dec 2007 00:53:51 +0000 (16:53 -0800)
src/mesa/drivers/dri/intel/intel_decode.c

index 74ceebad8b56a420e7addbb1061fc88785c069d3..73f0fcd591513e22a9b007112bf6a87841a4dcf6 100644 (file)
@@ -214,7 +214,7 @@ decode_2d(uint32_t *data, int count, uint32_t hw_offset, int *failures)
        instr_out(data, hw_offset, 2, "(%d,%d)\n",
                  data[2] & 0xffff, data[2] >> 16);
        instr_out(data, hw_offset, 3, "(%d,%d)\n",
-                 data[2] & 0xffff, data[2] >> 16);
+                 data[3] & 0xffff, data[3] >> 16);
        instr_out(data, hw_offset, 4, "offset 0x%08x\n", data[4]);
        instr_out(data, hw_offset, 5, "color\n");
        return len;