mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Fix crashes when changing graphics state
This commit is contained in:
@ -1207,6 +1207,8 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nC
|
||||
|
||||
// Main loop
|
||||
if (gClient && !gClient->GetDone()) {
|
||||
if (gPendingActivate)
|
||||
gClient->WindowActivate(gPendingActivateFlag);
|
||||
gClient->SetMessagePumpProc(PumpMessageQueueProc);
|
||||
gClient.Start();
|
||||
|
||||
|
Reference in New Issue
Block a user