From eaeb314372260f1ff0fbbf78a449f0b39573ed3d Mon Sep 17 00:00:00 2001 From: Abdiel Janulgue Date: Mon, 4 Feb 2013 13:30:06 +0200 Subject: intel: make sure to setup image dimension in image_from_planar setup Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=60212 Tested-by: Scott Moreau Tested-by: Tiago Vignatti Reviewed-by: Chad Versace Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/intel/intel_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index c6346d8bfda..defcd731999 100644 --- a/src/mesa/drivers/dri/intel/intel_screen.c +++ b/src/mesa/drivers/dri/intel/intel_screen.c @@ -682,6 +682,7 @@ intel_from_planar(__DRIimage *parent, int plane, void *loaderPrivate) image->region->tiling = parent->region->tiling; image->region->screen = parent->region->screen; image->offset = offset; + intel_setup_image_from_dimensions(image); intel_region_get_tile_masks(image->region, &mask_x, &mask_y, false); if (offset & mask_x) -- cgit v1.2.3