mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-13 17:30:12 +00:00
Check that dll is loaded before keeping it loaded
This commit is contained in:
1 file changed
+2
-1
@@ -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