mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user