EGL: Don't depend on VideoCommon or Core

This commit is contained in:
Scott Mansell
2015-09-19 06:12:20 +12:00
parent 72249b8085
commit c9836ff592
4 changed files with 5 additions and 9 deletions

View File

@ -2,10 +2,7 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Common/GL/GLInterfaceBase.h"
#include "Common/GL/GLInterface/EGL.h"
#include "VideoCommon/DriverDetails.h"
#include "VideoCommon/RenderBase.h"
// Show the current FPS
void cInterfaceEGL::Swap()
@ -14,8 +11,7 @@ void cInterfaceEGL::Swap()
}
void cInterfaceEGL::SwapInterval(int Interval)
{
if (!DriverDetails::HasBug(DriverDetails::BUG_BROKENVSYNC))
eglSwapInterval(egl_dpy, Interval);
eglSwapInterval(egl_dpy, Interval);
}
void* cInterfaceEGL::GetFuncAddress(const std::string& name)