Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[egl] fixed, remember vsync setting and restore it when changing disp…

…lay resolutions
  • Loading branch information...
commit 0562c11dc236ed0dbc5a5f078808a9ddf698f7e4 1 parent 49cd92b
@davilla davilla authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  xbmc/windowing/egl/WinSystemEGL.cpp
3  xbmc/windowing/egl/WinSystemEGL.cpp
@@ -383,7 +383,8 @@ bool CWinSystemEGL::PresentRenderImpl(const CDirtyRegionList &dirty)
void CWinSystemEGL::SetVSyncImpl(bool enable)
- if (!m_egl->SetVSync(m_display, enable))
+ m_iVSyncMode = enable;
+ if (!m_egl->SetVSync(m_display, m_iVSyncMode))
CLog::Log(LOGERROR, "%s,Could not set egl vsync", __FUNCTION__);
Please sign in to comment.
Something went wrong with that request. Please try again.