Merge branch 'd2d/DXGI_FORMAT_R8G8B8A8_UNORM-support' into 'master'

d2d: Added support for DXGI_FORMAT_R8G8B8A8_UNORM on wic render targets

See merge request wine/wine!5925
This commit is contained in:
Agustin Principe 2024-11-19 19:03:21 +00:00
commit 03f0babe2c

View file

@ -197,6 +197,7 @@ HRESULT d2d_wic_render_target_init(struct d2d_wic_render_target *render_target,
switch (texture_desc.Format)
{
case DXGI_FORMAT_B8G8R8A8_UNORM:
case DXGI_FORMAT_R8G8B8A8_UNORM:
render_target->bpp = 4;
break;