mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 15:10:49 +00:00
Don't load libopenxr_loader.so
We are locked to version 1 of the ABI, so don't load what might be a symlink to a newer and incompatible version. Platforms like OpenBSD that only have .so versions of libraries can add a special case here like Android in the future. Fixes https://github.com/libsdl-org/SDL/issues/15172
This commit is contained in:
parent
101273f429
commit
25b62f01ed
1 changed files with 2 additions and 2 deletions
|
|
@ -44,12 +44,12 @@ static const char *openxr_library_names[] = { "openxr_loader.dll", NULL };
|
|||
* negotiation crashes on pre-instance calls (e.g., xrEnumerateApiLayerProperties). */
|
||||
static const char *openxr_library_names[] = { "libopenxr_loader.so", NULL };
|
||||
#else
|
||||
static const char *openxr_library_names[] = { "libopenxr_loader.so.1", "libopenxr_loader.so", NULL };
|
||||
static const char *openxr_library_names[] = { "libopenxr_loader.so.1", NULL };
|
||||
SDL_ELF_NOTE_DLOPEN(
|
||||
"gpu-openxr",
|
||||
"Support for OpenXR with SDL_GPU rendering",
|
||||
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
|
||||
"libopenxr_loader.so.1", "libopenxr_loader.so"
|
||||
"libopenxr_loader.so.1"
|
||||
)
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue