virtualx-engine/platform
Rémi Verschelde 03dda90ddd 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>

(cherry picked from commit 562b1cd2cda2098e62c7501dae87393def99c23a)
2021-03-08 16:03:24 +01:00
..
android Merge pull request #46458 from m4gr3d/fix_invalid_missing_templates_error 2021-02-27 16:52:41 +01:00
iphone Modernize atomics 2021-02-18 12:23:25 +01:00
javascript [HTML5] Replace XMLHttpRequest with Fetch. 2021-03-06 11:44:43 +01:00
osx Mono/macOS: Separate data dir into frameworks and resources for codesigning 2021-03-04 12:21:17 +01:00
server add msan sanitizer option for linus/bsd, lsan option for osx 2021-03-04 11:33:35 +01:00
uwp Fix build error in UWP 2021-02-22 17:57:27 +01:00
windows Added LocalVector to Visual Studio debugger visualization 2021-02-25 15:14:32 +01:00
x11 Linux: Fix PRIME detection on Steam 2021-03-08 16:03:24 +01:00
register_platform_apis.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00