i965: Fix access mode of index buffer rebase.
authorEric Anholt <eric@anholt.net>
Wed, 23 Jan 2013 23:23:43 +0000 (15:23 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 11 Feb 2013 21:14:51 +0000 (13:14 -0800)
commit936a3ca6fdbf166ee89d410653f7948de3282bdc
tree8370b129dcf74dba49734762f8c78c25b3cbd452
parent016928b163634aece5a3e911dde6b643d491f025
i965: Fix access mode of index buffer rebase.

It doesn't matter with our current implementation of MapBufferRange,
but it was wrong -- the result pointer is read by intel_upload_data().

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_draw_upload.c