diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2021-03-08 15:42:07 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-03-08 15:51:14 +0100 |
| commit | ae850177a3cd4e285313728dfcb490753e2e7e82 (patch) | |
| tree | ea216444c56a964df9a814babd7a5592693e1757 /modules/openxr/extensions/openxr_composition_layer_depth_extension.cpp | |
| parent | 26d1b30d35d0897e18e4bc9521c1833eb1bdcf0c (diff) | |
Linux: Fix PRIME detection on Steam
To avoid trying to do PRIME detection on fake `libGL.so` as used by e.g.
Renderdoc or Primus, we skip detection if there's a `libGL.so` in
`LD_LIBRARY_PATH`... and our luck is that Steam defines it and includes
system paths too, thus the actual system `libGL`... 🤦
So if we detect Steam, we skip this check.
Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
Diffstat (limited to 'modules/openxr/extensions/openxr_composition_layer_depth_extension.cpp')
0 files changed, 0 insertions, 0 deletions