intel: Allow intel_region_reference() with *dst != NULL.
authorEric Anholt <eric@anholt.net>
Wed, 29 Jun 2011 18:09:49 +0000 (11:09 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 7 Jul 2011 21:05:20 +0000 (14:05 -0700)
commit036b74a7f8adc745c7af089129f070b8e5b8f4bd
tree356d480a5db0a373ab48425443f0cd08f6f46d1b
parent86e62b2357447b7c97f434be4834f4b50aa0764d
intel: Allow intel_region_reference() with *dst != NULL.

This should help us avoid leaking regions in region reference code by
making the API more predictable.

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