diff --git a/README.md b/README.md index 467cff11..896ec28b 100644 --- a/README.md +++ b/README.md @@ -262,7 +262,7 @@ Or alternatively, add `MANGOHUD=1` to your shell profile (Vulkan only). ## OpenGL -OpenGL games may also need `dlsym` hooking. Add `--dlsym` or `MANGOHUD_DLSYM=1` env var to your command like `mangohud --dlsym %command%` for Steam. +OpenGL games may also need `dlsym` hooking. Add `--dlsym` to your command like `mangohud --dlsym %command%` for Steam. Some Linux native OpenGL games overrides LD_PRELOAD and stops MangoHud from working. You can sometimes fix this by editing LD_PRELOAD in the start script `LD_PRELOAD=/path/to/mangohud/lib/` diff --git a/bin/mangohud.in b/bin/mangohud.in index f9752249..49f4ddf0 100755 --- a/bin/mangohud.in +++ b/bin/mangohud.in @@ -11,7 +11,6 @@ fi MANGOHUD_LIB_NAME="@ld_libdir_mangohud@libMangoHud.so" if [ "$1" = "--dlsym" ]; then - MANGOHUD_DLSYM=1 MANGOHUD_LIB_NAME="@ld_libdir_mangohud@libMangoHud_dlsym.so:${MANGOHUD_LIB_NAME}" shift fi