mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-06-11 19:51:00 +00:00
Hack for linux loading vulkan dynamic lib
This commit is contained in:
@@ -655,10 +655,16 @@ ReplayCreateStatus Vulkan_CreateReplayDevice(const char *logfile, IReplayDriver
|
||||
{
|
||||
RDCDEBUG("Creating a VulkanReplay replay device");
|
||||
|
||||
#if defined(WIN32)
|
||||
bool loaded = Process::LoadLibrary("vulkan.dll");
|
||||
#elif defined(__linux__)
|
||||
bool loaded = Process::LoadLibrary("libvulkan.so");
|
||||
#else
|
||||
#error "Unknown platform"
|
||||
#endif
|
||||
if(!loaded)
|
||||
{
|
||||
RDCERR("Failed to load vulkan.dll");
|
||||
RDCERR("Failed to load vulkan library");
|
||||
return eReplayCreate_APIInitFailed;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user