mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00: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:
parent
7f5da62d1c
commit
d332cc342d
3 changed files with 7 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue