Browse Source

[c.f. Hoikas Discord>>OpenUru>>Dev]

Restore exception handler after PhysX initialization seizes it.
h-uru/restoreexceptionhandler
rarified 5 years ago
parent
commit
91f9948e2f
  1. 3
      MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/Apps/plClient/winmain.cpp

3
MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/Apps/plClient/winmain.cpp

@ -1965,6 +1965,9 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nC
if( !gClient->StartInit() )
break;
// Reestablish exception handler after PhysX stole it
SetUnhandledExceptionFilter( plCustomUnhandledExceptionFilter );
// I want it on top! I mean it!
BringWindowToTop( gClient->GetWindowHandle() );

Loading…
Cancel
Save