Added SDL_HINT_OPENGL_LIBRARY and SDL_HINT_VULKAN_LIBRARY

This commit is contained in:
Sam Lantinga committed 2024-08-05 08:54:10 -07:00
1 parent c9b2bfa7c1
commit 05f870f20d
13 files changed
+30 -12

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ int Android_Vulkan_LoadLibrary(SDL_VideoDevice *_this, const char *path)
/* Load the Vulkan loader library */
if (!path) {
path = SDL_getenv("SDL_VULKAN_LIBRARY");
path = SDL_GetHint(SDL_HINT_VULKAN_LIBRARY);
}
if (!path) {
path = "libvulkan.so";