diff options
Diffstat (limited to 'Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp b/Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp index 1adbfb06c6..6020be1eaa 100644 --- a/Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp +++ b/Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp @@ -4,6 +4,7 @@ #include "VideoBackends/OGL/GLInterfaceBase.h" #include "VideoBackends/OGL/GLInterface/EGL.h" +#include "VideoCommon/DriverDetails.h" #include "VideoCommon/RenderBase.h" // Show the current FPS @@ -13,7 +14,8 @@ void cInterfaceEGL::Swap() } void cInterfaceEGL::SwapInterval(int Interval) { - eglSwapInterval(egl_dpy, Interval); + if (!DriverDetails::HasBug(DriverDetails::BUG_BROKENVSYNC)) + eglSwapInterval(egl_dpy, Interval); } void* cInterfaceEGL::GetFuncAddress(const std::string& name) |
