Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
desktop-ui/presentation: Add an alternative path for loading shaders …
…on Linux and BSD (#1738) On some Linux and BSD distribution, Ares from the repositories may not come with shaders preinstalled. Instead, these one may come from another package, for example on Archlinux the package `libretro-shaders-slang` installs the shaders in the following path: `/usr/share/libretro/shaders/shaders_slang/` . This will make Ares fail to load any shaders on these distro. So to fix it, this PR adds the aforementioned location as another path to search for, as a fallback. I know, the two dots are a bit ugly, given that locate() normally doesn't search for files or directories outside of those of Ares...Ideally, locate() should be expanded to search the entire file system, but I'm afraid the required changes may be a bit more far reaching than expected.
- Loading branch information