Linux needs to have the wxWidgets window go to fullscreen after the display resolution is changed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7389 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0daacc04d3
commit
7f5da62d1c
|
@ -991,8 +991,15 @@ void CFrame::OnMouse(wxMouseEvent& event)
|
|||
|
||||
void CFrame::DoFullscreen(bool bF)
|
||||
{
|
||||
#ifndef __linux__
|
||||
m_RenderFrame->ShowFullScreen(bF, wxFULLSCREEN_ALL);
|
||||
#endif
|
||||
ToggleDisplayMode(bF);
|
||||
#ifdef __linux__
|
||||
// Linux needs the wxWidgets window to go to fullscreen after the display resolution
|
||||
// is changed in order for the backbuffer to get the correct size.
|
||||
m_RenderFrame->ShowFullScreen(bF, wxFULLSCREEN_ALL);
|
||||
#endif
|
||||
|
||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue