mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-11-04 06:00:23 +00:00
Re-introduce MANGOHUD_DLSYM
[skip ci]
This commit is contained in:
parent
81941faa8c
commit
1462716bf0
@ -10,7 +10,7 @@ fi
|
||||
|
||||
MANGOHUD_LIB_NAME="@ld_libdir_mangohud@libMangoHud_opengl.so"
|
||||
|
||||
if [ "$1" = "--dlsym" ]; then
|
||||
if [ "$1" = "--dlsym" ] || [ "$MANGOHUD_DLSYM" = "1" ]; then
|
||||
MANGOHUD_LIB_NAME="@ld_libdir_mangohud@libMangoHud_dlsym.so:${MANGOHUD_LIB_NAME}"
|
||||
shift
|
||||
fi
|
||||
|
@ -15,7 +15,7 @@ MangoHud can be enabled for Vulkan applications by setting \fBMANGOHUD=1\fR as e
|
||||
.br
|
||||
To load MangoHud for any application, including OpenGL applications, the \fBmangohud\fR executable can be used. It preloads a library via ld into the application.
|
||||
.br
|
||||
Note: some OpenGL applications may also need dlsym hooking. This can be done by passing option \fB--dlsym\fR.
|
||||
Note: some OpenGL applications may also need dlsym hooking. This can be done by passing option \fB--dlsym\fR or by setting \fBMANGOHUD_DLSYM=1\fR as envrionment variable.
|
||||
|
||||
.SH CONFIG
|
||||
MangoHud comes with a config file which can be used to set configuration options globally or per application. The priorities of different config files are:
|
||||
|
Loading…
Reference in New Issue
Block a user