Stop crash with ogl and render to child window fix. (issue 200)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@725 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
8c2a9fa08d
commit
a9c81fad7d
|
@ -402,7 +402,7 @@ THREAD_RETURN EmuThread(void *pArg)
|
||||||
LOG(MASTER_LOG, "EmuThread exited");
|
LOG(MASTER_LOG, "EmuThread exited");
|
||||||
//The CPU should return when a game is stopped and cleanup should be done here,
|
//The CPU should return when a game is stopped and cleanup should be done here,
|
||||||
//so we can restart the plugins (or load new ones) for the next game
|
//so we can restart the plugins (or load new ones) for the next game
|
||||||
|
if (_CoreParameter.hMainWindow == g_pWindowHandle)
|
||||||
Host_UpdateMainFrame();
|
Host_UpdateMainFrame();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue