mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-26 07:35:37 +00:00
Check that dll is loaded before keeping it loaded
This commit is contained in:
@@ -478,7 +478,8 @@ ReplayStatus WrappedVulkan::Initialise(VkInitParams ¶ms, uint64_t sectionVer
|
||||
GetResourceManager()->WrapResource(m_Instance, m_ReplayPhysicalDevices[i]);
|
||||
|
||||
#if ENABLED(RDOC_WIN32)
|
||||
LoadLibraryA("nvoglv64.dll");
|
||||
if(GetModuleHandleA("nvoglv64.dll"))
|
||||
LoadLibraryA("nvoglv64.dll");
|
||||
#endif
|
||||
|
||||
return ReplayStatus::Succeeded;
|
||||
|
||||
Reference in New Issue
Block a user