intel: Just look up image->internal_format using _mesa_get_format_base_format
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 5 Jul 2012 04:07:15 +0000 (00:07 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 5 Jul 2012 18:22:07 +0000 (14:22 -0400)
commit454fc07ddefe2b750d78c94e8d52a11a8741c42f
tree3eb53ea2eec8de3d6c123fa6e38ad800f8294f17
parente408c17767c82c3bbd32d0386d5d9141c1fb20dc
intel: Just look up image->internal_format using _mesa_get_format_base_format

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