forked from CastroFidel/PortWINE
Merge branch 'mangohud_opengl' of github.com:Htylol/PortWINE into Htylol-mangohud_opengl
This commit is contained in:
commit
c283c521da
@ -1815,8 +1815,10 @@ pw_mangohud_check () {
|
|||||||
export PW_MANGOHUD_SLR='MANGOHUD=1'
|
export PW_MANGOHUD_SLR='MANGOHUD=1'
|
||||||
fi
|
fi
|
||||||
# TODO: need to fix work for OpenGL...
|
# TODO: need to fix work for OpenGL...
|
||||||
# MANGOHUD_LIB_NAME="libMangoHud_shim.so:libMangoHud_opengl.so"
|
if [[ $PW_USE_GALLIUM_ZINK == "0" ]] ; then
|
||||||
# export PW_LD_PRELOAD="${PW_LD_PRELOAD:+$PW_LD_PRELOAD:}${MANGOHUD_LIB_NAME}"
|
MANGOHUD_LIB_NAME="libMangoHud_shim.so:libMangoHud_opengl.so"
|
||||||
|
export PW_LD_PRELOAD="${PW_LD_PRELOAD:+$PW_LD_PRELOAD:}${MANGOHUD_LIB_NAME}"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
export PW_MANGOHUD_SLR=''
|
export PW_MANGOHUD_SLR=''
|
||||||
print_info "MangoHud is disabled"
|
print_info "MangoHud is disabled"
|
||||||
|
Loading…
Reference in New Issue
Block a user