fix
This commit is contained in:
parent
f0584841a9
commit
bbff8ecc68
@ -462,14 +462,7 @@ start_portwine () {
|
|||||||
export WINE_D3D_CONFIG='renderer=gl'
|
export WINE_D3D_CONFIG='renderer=gl'
|
||||||
elif [[ "${PW_VULKAN_USE}" == "5" ]] ; then
|
elif [[ "${PW_VULKAN_USE}" == "5" ]] ; then
|
||||||
print_info "Use OpenGL Zink"
|
print_info "Use OpenGL Zink"
|
||||||
if [[ "${XDG_SESSION_TYPE}" == "wayland" ]] ; 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'
|
|
||||||
export __GLX_VENDOR_LIBRARY_NAME=mesa
|
|
||||||
export MESA_LOADER_DRIVER_OVERRIDE=zink
|
|
||||||
export GALLIUM_DRIVER=zink
|
|
||||||
elif [[ "${PW_USE_GAMESCOPE}" == 1 ]] ; then
|
|
||||||
export GL_YIELD="NOTHING"
|
export GL_YIELD="NOTHING"
|
||||||
export mesa_glthread=true
|
export mesa_glthread=true
|
||||||
export WINE_D3D_CONFIG='renderer=gl'
|
export WINE_D3D_CONFIG='renderer=gl'
|
||||||
|
Loading…
Reference in New Issue
Block a user