OS X also needs to have the display resolution changed before

setting wxFULLSCREEN_ALL.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7390 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2011-03-21 16:06:40 +00:00
parent 7f5da62d1c
commit d332cc342d
3 changed files with 7 additions and 10 deletions

View File

@ -991,13 +991,11 @@ void CFrame::OnMouse(wxMouseEvent& event)
void CFrame::DoFullscreen(bool bF)
{
#ifndef __linux__
#ifdef _WIN32 // See r7388
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.
#ifndef _WIN32 // See r7388
m_RenderFrame->ShowFullScreen(bF, wxFULLSCREEN_ALL);
#endif