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:
parent
1e4d8cd551
commit
9c36b7623b
|
@ -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
|
||||
|
|
|
@ -84,6 +84,8 @@ bool OGLVideoWindows::_start()
|
|||
return false;
|
||||
}
|
||||
|
||||
_resizeWindow();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user