intel: Remove now trivial intel_renderbuffer_set_{hiz_,}region().
authorEric Anholt <eric@anholt.net>
Wed, 29 Jun 2011 18:26:32 +0000 (11:26 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 7 Jul 2011 21:42:47 +0000 (14:42 -0700)
commitc7ef5e8498550e6ed4d609641ca6deb932882485
tree221f0d93cf4fc677bbaeaf49e87b7cd83235faeb
parentb904321ed018c661271fb1fc3eefd1af0ec61c7f
intel: Remove now trivial intel_renderbuffer_set_{hiz_,}region().

As a result of this cleanup, a bug in
intel_process_dri2_buffer_no_separate_stencil() became quite apparent.
We were associating the NULL pointer after an unreference with the
STENCIL attachment -- clarify the logic and attach the right region.

Reviewed-by: Chad Versace <chad@chad-versace.us>
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_fbo.h