src/video/android/SDL_androidvulkan.c
changeset 11456 14800ea6ff4c
parent 11381 2610f8f0a9c6
child 11811 5d94cb6b24d3
equal deleted inserted replaced
11455:9e33d1be5d65 11456:14800ea6ff4c
    48 
    48 
    49     /* Load the Vulkan loader library */
    49     /* Load the Vulkan loader library */
    50     if(!path)
    50     if(!path)
    51         path = SDL_getenv("SDL_VULKAN_LIBRARY");
    51         path = SDL_getenv("SDL_VULKAN_LIBRARY");
    52     if(!path)
    52     if(!path)
    53         path = "libvulkan.so.1";
    53         path = "libvulkan.so";
    54     _this->vulkan_config.loader_handle = SDL_LoadObject(path);
    54     _this->vulkan_config.loader_handle = SDL_LoadObject(path);
    55     if(!_this->vulkan_config.loader_handle)
    55     if(!_this->vulkan_config.loader_handle)
    56         return -1;
    56         return -1;
    57     SDL_strlcpy(_this->vulkan_config.loader_path, path,
    57     SDL_strlcpy(_this->vulkan_config.loader_path, path,
    58                 SDL_arraysize(_this->vulkan_config.loader_path));
    58                 SDL_arraysize(_this->vulkan_config.loader_path));