Ugh...
Someone (not me) was spawning a window and wasn't killing it afterwards. It caused a issue to do with fullscreen-window mode transition. Removed since I checked out and it made no difference at all to functionality, yet it caused this issue. git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@453 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
1869747c6d
commit
c6b8db239d
|
@ -315,23 +315,7 @@ bool OpenGLDisplay::initialize()
|
||||||
winSizeY = theApp.fsHeight;
|
winSizeY = theApp.fsHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create a window
|
|
||||||
MainWnd *pWnd = new MainWnd;
|
|
||||||
theApp.m_pMainWnd = pWnd;
|
|
||||||
|
|
||||||
pWnd->CreateEx(
|
|
||||||
styleEx,
|
|
||||||
theApp.wndClass,
|
|
||||||
"VisualBoyAdvance",
|
|
||||||
style,
|
|
||||||
x,y,winSizeX,winSizeY,
|
|
||||||
NULL,
|
|
||||||
0 );
|
|
||||||
|
|
||||||
if (!(HWND)*pWnd) {
|
|
||||||
winlog("Error creating Window %08x\n", GetLastError());
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
theApp.updateMenuBar();
|
theApp.updateMenuBar();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue