st/nine: SetResourceResize should track nr_samples too
Reviewed-by: Tiziano Bacocco <tizbac2@gmail.com> Signed-off-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
parent
1c1d26cd97
commit
d538007734
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue