summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/MainNoGUI.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2014-07-16 15:53:33 +0200
committerJules Blok <jules.blok@gmail.com>2014-07-21 17:11:13 +0200
commit36ea1890c8d1b6084a5bc2e80093878af400810a (patch)
tree592aa6253df915b4f1f24caed029bbbefde08c71 /Source/Core/DolphinWX/MainNoGUI.cpp
parentcd94ff19663ad1d0bb65395d8b822b56d3603863 (diff)
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.
Diffstat (limited to 'Source/Core/DolphinWX/MainNoGUI.cpp')
-rw-r--r--Source/Core/DolphinWX/MainNoGUI.cpp3
1 files changed, 3 insertions, 0 deletions
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;