From 7a9f7bfa83a2ad2ad89993b4393dcf82a8f7a9b1 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Thu, 6 Feb 2014 21:41:11 +0000 Subject: [PATCH] Fix a typo in EGL.h for setting mode. Seems to have been a copy and paste issue where SetMode would always set to DETECT This isn't right since mode should be set correctly by SetMode --- Source/Core/DolphinWX/GLInterface/EGL.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/GLInterface/EGL.h b/Source/Core/DolphinWX/GLInterface/EGL.h index 3a3be92377..2a26e65f12 100644 --- a/Source/Core/DolphinWX/GLInterface/EGL.h +++ b/Source/Core/DolphinWX/GLInterface/EGL.h @@ -52,7 +52,7 @@ public: friend class cPlatform; void SwapInterval(int Interval); void Swap(); - void SetMode(u32 mode) { s_opengl_mode = GLInterfaceMode::MODE_DETECT; } + void SetMode(u32 mode) { s_opengl_mode = mode; } void UpdateFPSDisplay(const char *Text); void* GetFuncAddress(std::string name); bool Create(void *&window_handle);