intel: set dri image dimensions even when creating out of primes

Otherwise 'intel_set_texture_image_region()' won't have enough
details to work with.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Topi Pohjolainen 2013-04-17 13:11:16 +03:00
parent 904587ac3a
commit ee844b6660

View file

@ -679,6 +679,8 @@ intel_create_image_from_fds(__DRIscreen *screen,
image->strides[index] = strides[index];
}
intel_setup_image_from_dimensions(image);
return image;
}