Skip to content

Commit

Permalink
patches: add patch to work around 'OpenGL Renderer' empty windows (gs…
Browse files Browse the repository at this point in the history
…treamer bug)
  • Loading branch information
GloriousEggroll committed Dec 14, 2023
1 parent a79da13 commit 9f7253f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
10 changes: 10 additions & 0 deletions patches/LoL/LoL-disable-gstreamer-uxrender.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index e7c10e17f38..ecaeb33f3fe 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -2865,3 +3105,5 @@ HKCU,Software\Wine\AppDefaults\Maine-Win64-Shipping.exe\DllOverrides,"SpeechSynt
HKCU,Software\Wine\AppDefaults\rayne1.exe\DllOverrides,"d3d8",,"native"
HKCU,Software\Wine\AppDefaults\rayne2.exe\DllOverrides,"d3d8",,"native"
HKCU,Software\Wine\AppDefaults\RDR2.exe\DllOverrides,"vulkan-1",,"native"
+HKCU,Software\Wine\AppDefaults\RiotClientUxRender.exe\DllOverrides,"winegstreamer",,""
+HKCU,Software\Wine\AppDefaults\LeagueClientUxRender.exe\DllOverrides,"winegstreamer",,""
3 changes: 3 additions & 0 deletions patches/protonprep-LoL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,9 @@
patch -Np1 < ../patches/LoL/LoL-ntdll-implement-ntcontinueex-no-backports.patch
patch -Np1 < ../patches/LoL/LoL-ntdll-fix-signal-set-full-context.patch

# https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2997
patch -Np1 < ../patches/LoL/LoL-disable-gstreamer-uxrender.patch

### END WINE PATCHING ###
# need to run these after applying patches
./dlls/winevulkan/make_vulkan
Expand Down
2 changes: 1 addition & 1 deletion proton-wine

0 comments on commit 9f7253f

Please sign in to comment.