From: Eric Anholt Date: Tue, 27 Nov 2007 18:57:28 +0000 (-0800) Subject: [intel] Fix copy'n'pasteo in decoding of the blit clear packet. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c24300f93731f8777309bec4ce2439d05895001a;p=mesa.git [intel] Fix copy'n'pasteo in decoding of the blit clear packet. --- diff --git a/src/mesa/drivers/dri/intel/intel_decode.c b/src/mesa/drivers/dri/intel/intel_decode.c index 74ceebad8b5..73f0fcd5915 100644 --- a/src/mesa/drivers/dri/intel/intel_decode.c +++ b/src/mesa/drivers/dri/intel/intel_decode.c @@ -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;