[PATCH] mfplat: Use D3DFORMAT for dxgi buffer copy function
7 Jul
2021
7 Jul
'21
3:27 p.m.
Signed-off-by: Adrian Thiele <adrian.thiele(a)live.de> --- dlls/mfplat/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mfplat/buffer.c b/dlls/mfplat/buffer.c index c1829043e1b..9081dc39eab 100644 --- a/dlls/mfplat/buffer.c +++ b/dlls/mfplat/buffer.c @@ -1473,7 +1473,7 @@ static HRESULT create_dxgi_surface_buffer(IUnknown *surface, unsigned int sub_re object->_2d.width = stride; object->_2d.height = desc.Height; object->max_length = object->_2d.plane_size; - object->_2d.copy_image = get_2d_buffer_copy_func(desc.Format); + object->_2d.copy_image = get_2d_buffer_copy_func(format); if (FAILED(hr = init_attributes_object(&object->dxgi_surface.attributes, 0))) { -- 2.32.0
1623
Age (days ago)
1623
Last active (days ago)
2 comments
3 participants
participants (3)
-
Adrian Thiele -
Derek Lesho -
Nikolay Sivov