intel: set dri_format field for all images
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Mon, 30 Apr 2012 09:32:45 +0000 (12:32 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 30 Apr 2012 17:18:16 +0000 (13:18 -0400)
commit249817e92839d9ecdd78360eb3a856724df504c4
treead6be2ebfa279fe395f2c2ae4df78f4e5e8dcdc0
parentfc7d224e295c4cb641238c37612409b1174cea12
intel: set dri_format field for all images

Only images created with intel_create_image() had the field properly
set. Set it also on intel_dup_image(), intel_create_image_from_name()
and intel_create_image_from_renderbuffer().
src/mesa/drivers/dri/intel/intel_screen.c