From e04edd89cca5133ffb542847f2c398b3a9cc16c2 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 28 Dec 2013 00:58:08 -0600 Subject: [PATCH] Support grabbing whichever OpenGL mode we are running under from GLInterface. GLES or GL --- Source/Core/DolphinWX/Src/GLInterface/InterfaceBase.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/DolphinWX/Src/GLInterface/InterfaceBase.h b/Source/Core/DolphinWX/Src/GLInterface/InterfaceBase.h index 8e2fa4e36b..81daedae98 100644 --- a/Source/Core/DolphinWX/Src/GLInterface/InterfaceBase.h +++ b/Source/Core/DolphinWX/Src/GLInterface/InterfaceBase.h @@ -16,6 +16,7 @@ public: virtual void Swap() {} virtual void UpdateFPSDisplay(const char *Text) {} virtual void SetMode(u32 mode) { s_opengl_mode = mode; } + virtual u32 GetMode() { return s_opengl_mode; } virtual bool Create(void *&window_handle) { return true; } virtual bool MakeCurrent() { return true; } virtual bool ClearCurrent() { return true; }