Added SDL_HINT_OPENGL_LIBRARY and SDL_HINT_VULKAN_LIBRARY
This commit is contained in:
1 parent
c9b2bfa7c1
commit
05f870f20d
13 files changed
+30
-12
No files matched your search
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user