Diff of /guilib/GraphicContext.cpp [242a2f] .. [6603ef] Maximize Restore

Repo status: analyzing...

  Switch to side-by-side view

--- a/guilib/GraphicContext.cpp
+++ b/guilib/GraphicContext.cpp
@@ -32,6 +32,7 @@
 #include "MouseStat.h"
 #include "GUIWindowManager.h"
 #include "utils/JobManager.h"
+#include "VideoReferenceClock.h"
 
 using namespace std;
 
@@ -339,6 +340,9 @@
   m_iScreenId     = g_settings.m_ResInfo[res].iScreen;
   m_Resolution    = res;
 
+  //tell the videoreferenceclock that we're about to change the refreshrate
+  g_VideoReferenceClock.RefreshChanged();
+
   if (g_advancedSettings.m_fullScreen)
   {
 #if defined (__APPLE__) || defined (_WIN32)