mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
[c.f. Hoikas Discord>>OpenUru>>Dev]
Restore exception handler after PhysX initialization seizes it.
This commit is contained in:
@ -1965,6 +1965,9 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nC
|
|||||||
if( !gClient->StartInit() )
|
if( !gClient->StartInit() )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
// Reestablish exception handler after PhysX stole it
|
||||||
|
SetUnhandledExceptionFilter( plCustomUnhandledExceptionFilter );
|
||||||
|
|
||||||
// I want it on top! I mean it!
|
// I want it on top! I mean it!
|
||||||
BringWindowToTop( gClient->GetWindowHandle() );
|
BringWindowToTop( gClient->GetWindowHandle() );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user