diff options
author | Axel Davy <[email protected]> | 2015-01-19 16:09:07 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-02-06 00:07:19 +0100 |
commit | d538007734bb37a7f2aa865abaa225aa13799484 (patch) | |
tree | f716749e808d4269e304068ab605ce96b3d64481 /src | |
parent | 1c1d26cd97a0dd85c8c2f447d6f254df17658b4c (diff) |
st/nine: SetResourceResize should track nr_samples too
Reviewed-by: Tiziano Bacocco <[email protected]>
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/nine/surface9.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/surface9.c b/src/gallium/state_trackers/nine/surface9.c index 21a47071acb..f1b4aa947ec 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); |