Merge pull request #2917 from Sonicadvance1/android_fix_sgs6

[Android] Workaround Mali driver issue on the Samsung Galaxy S6.
This commit is contained in:
Markus Wick
2015-08-29 08:56:32 +02:00
3 changed files with 15 additions and 1 deletions

View File

@ -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)