diff options
author | Abdiel Janulgue <[email protected]> | 2013-02-04 13:30:06 +0200 |
---|---|---|
committer | Chad Versace <[email protected]> | 2013-02-04 10:18:22 -0800 |
commit | eaeb314372260f1ff0fbbf78a449f0b39573ed3d (patch) | |
tree | 41162783909ed8c7c17c3681754872f5bd4eaa88 /src/mesa/drivers | |
parent | 2db1f73849260cf8e5a7e390d04f5f26141a0b37 (diff) |
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 <[email protected]>
Tested-by: Tiago Vignatti <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Signed-off-by: Abdiel Janulgue <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |