intel: Make intel_region_map return void *.
authorEric Anholt <eric@anholt.net>
Wed, 30 Nov 2011 14:47:27 +0000 (06:47 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 7 Dec 2011 21:36:57 +0000 (13:36 -0800)
commit4cb1d6a25e4749ec5e0389ca3da468adbbe5299e
treec38214a51b09e7a01fafc3c4a8367d2891e7431f
parentb48c3bca87b30003f9e117d299011380e743aec9
intel: Make intel_region_map return void *.

We don't gripe about void * arithmetic for our driver, and this
prevents silly casting when assigning the result of mapping to
non-byte types.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_regions.c
src/mesa/drivers/dri/intel/intel_regions.h