Workaround nvidia crash seen in the wild, with jump into unloaded dll

This commit is contained in:
baldurk
2015-08-23 11:43:02 +02:00
parent bfc1904fdf
commit 89e5b1e62b
+5
View File
@@ -406,6 +406,11 @@ WrappedID3D11Device::WrappedID3D11Device(ID3D11Device* realDevice, D3D11InitPara
if(GetModuleHandleA("atidxx64.dll"))
LoadLibraryA("atidxx64.dll");
// NVIDIA workaround - same as above!
if(GetModuleHandleA("nvwgf2umx.dll"))
LoadLibraryA("nvwgf2umx.dll");
//////////////////////////////////////////////////////////////////////////
// Compile time asserts