mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-03 20:48:22 +00:00
Hack for linux loading vulkan dynamic lib
This commit is contained in:
1 parent
fa621c61b2
commit
ab482edcc1
1 file changed
+7
-1
@@ -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