intel: Share common __DRIimage allocation code
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 5 Jul 2012 04:17:47 +0000 (00:17 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 5 Jul 2012 18:22:07 +0000 (14:22 -0400)
commit1bb15c0a089cb268960d164d354ee6d942b4238f
treecfb528b04ddfcf1a3ddf3c6f9e10f13dbc1f6637
parent454fc07ddefe2b750d78c94e8d52a11a8741c42f
intel: Share common __DRIimage allocation code

We have the same switch and allocation code in two places.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_screen.c