mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 13:43:50 +00:00
mfmediaengine: Handle B8G8R8X8 format for d3d11 texture output.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bf824dbb92
commit
aeabe991ff
|
@ -2018,6 +2018,7 @@ static void media_engine_update_d3d11_frame_surface(ID3D11DeviceContext *context
|
||||||
switch (surface_desc.Format)
|
switch (surface_desc.Format)
|
||||||
{
|
{
|
||||||
case DXGI_FORMAT_B8G8R8A8_UNORM:
|
case DXGI_FORMAT_B8G8R8A8_UNORM:
|
||||||
|
case DXGI_FORMAT_B8G8R8X8_UNORM:
|
||||||
surface_desc.Width *= 4;
|
surface_desc.Width *= 4;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue