1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Remove call of video().resizeWindow() from PluginAPI::RomOpen().

It is required for Windows only, thus it is now called from OGLVideoWindows::_start().
This commit is contained in:
Sergey Lipskiy 2014-10-01 12:40:55 +07:00
parent 1e4d8cd551
commit 9c36b7623b
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,6 @@ void RSP_ThreadProc(std::mutex * _pRspThreadMtx, std::mutex * _pPluginThreadMtx,
RSP_Init();
GBI.init();
video().start();
video().resizeWindow();
assert(!isGLError());
while (true) {
@ -104,7 +103,6 @@ void PluginAPI::RomOpen()
RSP_Init();
GBI.init();
video().start();
video().resizeWindow();
#endif
#ifdef DEBUG

View File

@ -84,6 +84,8 @@ bool OGLVideoWindows::_start()
return false;
}
_resizeWindow();
return true;
}