We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cce18f3 commit 0263fa4Copy full SHA for 0263fa4
src/xrCore/ModuleLookup.cpp
@@ -24,6 +24,10 @@ void* Module::open(pcstr moduleName)
24
Log("Loading DLL:", moduleName);
25
26
handle = ::LoadLibrary(moduleName);
27
+
28
+ if (handle == nullptr)
29
+ Msg("Failed to load DLL: %d", GetLastError());
30
31
return handle;
32
}
33
src/xrEngine/EngineAPI.cpp
@@ -99,8 +99,6 @@ void CEngineAPI::InitializeRenderers()
99
renderer_value = 0; // con cmd
100
101
hRender->open(r1_name);
102
- if (!hRender->exist())
103
- R_CHK(GetLastError());
104
R_ASSERT(hRender);
105
g_current_renderer = 1;
106
0 commit comments