diff --git a/wine-tkg-git/wine-tkg-patches/hotfixes/GE/hotfixes b/wine-tkg-git/wine-tkg-patches/hotfixes/GE/hotfixes index 6df932e83..9d1465e5f 100644 --- a/wine-tkg-git/wine-tkg-patches/hotfixes/GE/hotfixes +++ b/wine-tkg-git/wine-tkg-patches/hotfixes/GE/hotfixes @@ -14,6 +14,7 @@ _apply_GE_patch() { _GE() { msg2 "GE patches..." _patchname="assettocorsa-hud.patch" _patchpath="$_where/wine-tkg-patches/hotfixes/GE/game-patches" _apply_GE_patch + _patchname="support_for_DXGI_FORMAT_R8G8B8A8_UNORM.patch" _patchpath="$_where/wine-tkg-patches/hotfixes/GE/wine-hotfixes/upstream" _apply_GE_patch #_patchname="mk11.patch" _patchpath="$_where/wine-tkg-patches/hotfixes/GE/game-patches" _apply_GE_patch if [[ "$_plain_version" = *_8.0 ]] || [[ "$_plain_version" = *_9.0 ]]; then _patchname="killer-instinct-winevulkan_fix-80.patch" _patchpath="$_where/wine-tkg-patches/hotfixes/GE/game-patches" _apply_GE_patch diff --git a/wine-tkg-git/wine-tkg-patches/hotfixes/GE/wine-hotfixes/upstream/support_for_DXGI_FORMAT_R8G8B8A8_UNORM.patch b/wine-tkg-git/wine-tkg-patches/hotfixes/GE/wine-hotfixes/upstream/support_for_DXGI_FORMAT_R8G8B8A8_UNORM.patch new file mode 100644 index 000000000..3fe5a7596 --- /dev/null +++ b/wine-tkg-git/wine-tkg-patches/hotfixes/GE/wine-hotfixes/upstream/support_for_DXGI_FORMAT_R8G8B8A8_UNORM.patch @@ -0,0 +1,12 @@ +diff --git a/dlls/d2d1/wic_render_target.c b/dlls/d2d1/wic_render_target.c +index 858c187e3bc..77d2adb705e 100644 +--- a/dlls/d2d1/wic_render_target.c ++++ b/dlls/d2d1/wic_render_target.c +@@ -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; +