diff --git a/src/dxvk/platform/dxvk_sdl2_exts.cpp b/src/dxvk/platform/dxvk_sdl2_exts.cpp index 701a3992..13583aa7 100644 --- a/src/dxvk/platform/dxvk_sdl2_exts.cpp +++ b/src/dxvk/platform/dxvk_sdl2_exts.cpp @@ -13,6 +13,8 @@ namespace dxvk { DxvkNameSet DxvkPlatformExts::getInstanceExtensions() { + SDL_Vulkan_LoadLibrary(nullptr); + uint32_t extensionCount = 0; if (!SDL_Vulkan_GetInstanceExtensions(nullptr, &extensionCount, nullptr)) throw DxvkError(str::format("SDL2 WSI: Failed to get instance extension count. ", SDL_GetError()));