forked from CastroFidel/PortWINE
updated WEBKIT_DISABLE_DMABUF_RENDERER check
This commit is contained in:
parent
795c77af6f
commit
c23e800154
@ -3266,7 +3266,9 @@ start_portwine () {
|
||||
fi
|
||||
|
||||
#https://github.com/flathub/net.lutris.Lutris/pull/368#issuecomment-1751381312
|
||||
if [[ (echo $PW_GPU_USE | grep -i nvidia) ]] || [[ $(glxinfo | grep "OpenGL renderer" | grep -i nvidia) ]]; then
|
||||
if [[ "${PW_GPU_USE,,}" =~ nvidia ]] \
|
||||
|| [[ $(glxinfo | grep "OpenGL renderer" | grep -i nvidia) ]]
|
||||
then
|
||||
export WEBKIT_DISABLE_DMABUF_RENDERER=1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user