forked from CastroFidel/PortWINE
Temporarily disabled video card selection when using gamescope and also cleaned and fixed the code and localization
This commit is contained in:
@ -847,13 +847,6 @@ check_nvidia_rtx () {
|
||||
return 1
|
||||
}
|
||||
|
||||
check_hybrid_graphicks () {
|
||||
if [[ ! -z "$(echo "$LSPCI_VGA" | grep -i nvidia | grep -i -E '(intel|amd)')" ]]
|
||||
then return 0
|
||||
else return 1
|
||||
fi
|
||||
}
|
||||
|
||||
pw_init_db () {
|
||||
if [[ -f "${portwine_exe}" ]] ; then
|
||||
export PORTWINE_DB="$(basename "${portwine_exe}" .exe)"
|
||||
@ -921,7 +914,6 @@ pw_init_db () {
|
||||
check_variables PW_USE_FAKE_DLSS "0"
|
||||
check_variables PW_USE_RAY_TRACING "1"
|
||||
fi
|
||||
check_hybrid_graphicks && check_variables PW_PRIME_RENDER_OFFLOAD "1"
|
||||
fi
|
||||
[[ "${START_FROM_STEAM}" == 1 ]] && export PW_GUI_DISABLED_CS=1
|
||||
|
||||
|
Reference in New Issue
Block a user