From d332cc342df2d960fb7e44b8c1c090212a72bb01 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Mon, 21 Mar 2011 16:06:40 +0000 Subject: 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 --- Source/Core/DolphinWX/Src/Frame.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Source') diff --git a/Source/Core/DolphinWX/Src/Frame.cpp b/Source/Core/DolphinWX/Src/Frame.cpp index e22b8e7bd2..0b293732a0 100644 --- a/Source/Core/DolphinWX/Src/Frame.cpp +++ b/Source/Core/DolphinWX/Src/Frame.cpp @@ -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 -- cgit v1.2.3