From 36ea1890c8d1b6084a5bc2e80093878af400810a Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Wed, 16 Jul 2014 15:53:33 +0200 Subject: Let the Renderer decide when to exit fullscreen. This ensures the transition from/to exclusive mode happens while the RenderFrame is fullscreen. This prevents fullscreen loops and relieves us of having to restore the window size after we exit fullscreen. --- Source/Core/DolphinWX/MainNoGUI.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/DolphinWX/MainNoGUI.cpp') diff --git a/Source/Core/DolphinWX/MainNoGUI.cpp b/Source/Core/DolphinWX/MainNoGUI.cpp index 351d818c2c..ee532f702a 100644 --- a/Source/Core/DolphinWX/MainNoGUI.cpp +++ b/Source/Core/DolphinWX/MainNoGUI.cpp @@ -88,6 +88,9 @@ void Host_GetRenderWindowSize(int& x, int& y, int& width, int& height) } void Host_RequestRenderWindowSize(int width, int height) {} + +void Host_RequestFullscreen(bool fullscreen) {} + void Host_SetStartupDebuggingParameters() { SCoreStartupParameter& StartUp = SConfig::GetInstance().m_LocalCoreStartupParameter; -- cgit v1.2.3