mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
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:
commit
03f0babe2c
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue