simplify cross arch preloading
This commit does a couple of things. In the mangohud launch script, the library will be found using $LIB with ld, so the correct path is selected depending on the cpu arch. The same is done for mangohud.json (vulkan layer). In addition some now unused files have been deleted. Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>sdf
parent
6ee225ed66
commit
d712d35aaf
@ -1,2 +0,0 @@
|
||||
/usr/lib/mangohud/lib32
|
||||
/usr/lib/mangohud/lib64
|
@ -1 +0,0 @@
|
||||
@libdir_mangohud@
|
@ -1,22 +0,0 @@
|
||||
{
|
||||
"file_format_version" : "1.0.0",
|
||||
"layer" : {
|
||||
"name": "MangoHud",
|
||||
"type": "GLOBAL",
|
||||
"api_version": "1.1.125",
|
||||
"library_path": "libMangoHud.so",
|
||||
"implementation_version": "1",
|
||||
"description": "Vulkan Hud Overlay",
|
||||
"functions": {
|
||||
"vkGetInstanceProcAddr": "overlay_GetInstanceProcAddr",
|
||||
"vkGetDeviceProcAddr": "overlay_GetDeviceProcAddr"
|
||||
},
|
||||
"enable_environment": {
|
||||
"MANGOHUD": "1"
|
||||
},
|
||||
"disable_environment": {
|
||||
"DISABLE_MANGOHUD": "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue