intel: Fix some potential writes to zero-copy PBOs when used as regions.
authorEric Anholt <eric@anholt.net>
Mon, 22 Jun 2009 18:20:18 +0000 (11:20 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 24 Jun 2009 02:31:11 +0000 (19:31 -0700)
commit246d59c29e3e5a57dcf2f60ad429eb1606193ef0
tree0b8aed47be86f6e68a37111257b094c900f39939
parent6a49473ab5797b1e6ce021e396902f9cb77674ef
intel: Fix some potential writes to zero-copy PBOs when used as regions.

I was in the midst of fixing some blitting-with-Y-tiled issues when I
noticed this.  Hopefully PBO usage will be a little more robust, as a
result.
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_pixel_copy.c
src/mesa/drivers/dri/intel/intel_regions.c
src/mesa/drivers/dri/intel/intel_regions.h
src/mesa/drivers/dri/intel/intel_tex_copy.c