[Mesa-dev] [PATCH 32/43] st/nine: SetResourceResize should track nr_samples too
Axel Davy
axel.davy at ens.fr
Fri Jan 30 12:34:31 PST 2015
Signed-off-by: Axel Davy <axel.davy at ens.fr>
---
src/gallium/state_trackers/nine/surface9.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/state_trackers/nine/surface9.c b/src/gallium/state_trackers/nine/surface9.c
index 21a4707..f1b4aa9 100644
--- a/src/gallium/state_trackers/nine/surface9.c
+++ b/src/gallium/state_trackers/nine/surface9.c
@@ -676,6 +676,7 @@ NineSurface9_SetResourceResize( struct NineSurface9 *This,
This->desc.Width = This->base.info.width0 = resource->width0;
This->desc.Height = This->base.info.height0 = resource->height0;
+ This->desc.MultiSampleType = This->base.info.nr_samples = resource->nr_samples;
This->stride = util_format_get_stride(This->base.info.format,
This->desc.Width);
--
2.1.0
More information about the mesa-dev
mailing list