This commit is contained in:
Htylol 2024-02-04 02:15:55 +05:00 committed by GitHub
parent f0584841a9
commit bbff8ecc68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -462,14 +462,7 @@ start_portwine () {
export WINE_D3D_CONFIG='renderer=gl'
elif [[ "${PW_VULKAN_USE}" == "5" ]] ; then
print_info "Use OpenGL Zink"
if [[ "${XDG_SESSION_TYPE}" == "wayland" ]] ; then
export GL_YIELD="NOTHING"
export mesa_glthread=true
export WINE_D3D_CONFIG='renderer=gl'
export __GLX_VENDOR_LIBRARY_NAME=mesa
export MESA_LOADER_DRIVER_OVERRIDE=zink
export GALLIUM_DRIVER=zink
elif [[ "${PW_USE_GAMESCOPE}" == 1 ]] ; then
if [[ "${XDG_SESSION_TYPE}" == "wayland" ]] || [[ "${PW_USE_GAMESCOPE}" == 1 ]] ; then
export GL_YIELD="NOTHING"
export mesa_glthread=true
export WINE_D3D_CONFIG='renderer=gl'