mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-04 06:40:03 +00:00
Vulkan: Fix headless framedumping without USE_X11 set
This commit is contained in:
parent
32125cf181
commit
cf1f975148
@ -14,7 +14,7 @@
|
||||
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
||||
#include <Windows.h>
|
||||
#elif defined(VK_USE_PLATFORM_XLIB_KHR) || defined(VK_USE_PLATFORM_XCB_KHR) || \
|
||||
defined(VK_USE_PLATFORM_ANDROID_KHR)
|
||||
defined(VK_USE_PLATFORM_ANDROID_KHR) || defined(USE_HEADLESS)
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
@ -98,7 +98,7 @@ void UnloadVulkanLibrary()
|
||||
}
|
||||
|
||||
#elif defined(VK_USE_PLATFORM_XLIB_KHR) || defined(VK_USE_PLATFORM_XCB_KHR) || \
|
||||
defined(VK_USE_PLATFORM_ANDROID_KHR)
|
||||
defined(VK_USE_PLATFORM_ANDROID_KHR) || defined(USE_HEADLESS)
|
||||
|
||||
static void* vulkan_module;
|
||||
static std::atomic_int vulkan_module_ref_count = {0};
|
||||
|
Loading…
x
Reference in New Issue
Block a user