mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
EGL: Don't depend on VideoCommon or Core
This commit is contained in:
@ -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)
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include <EGL/egl.h>
|
||||
|
||||
#include "Common/GL/GLInterfaceBase.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
|
||||
class cInterfaceEGL : public cInterfaceBase
|
||||
{
|
||||
|
@ -3,7 +3,6 @@
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "Common/GL/GLInterface/EGLAndroid.h"
|
||||
#include "Core/Host.h"
|
||||
|
||||
EGLDisplay cInterfaceEGLAndroid::OpenDisplay()
|
||||
{
|
||||
|
Reference in New Issue
Block a user