[Mesa-dev] [v4 05/10] intel: set dri image dimensions even when creating out of primes
Topi Pohjolainen
topi.pohjolainen at intel.com
Thu May 2 00:08:22 PDT 2013
Otherwise 'intel_set_texture_image_region()' won't have enough
details to work with.
Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
---
src/mesa/drivers/dri/intel/intel_screen.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index 2ac468e..4973441 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -686,6 +686,8 @@ intel_create_image_from_fds(__DRIscreen *screen,
image->strides[index] = strides[index];
}
+ intel_setup_image_from_dimensions(image);
+
return image;
}
--
1.8.1.2
More information about the mesa-dev
mailing list