Skip to content

Commit

Permalink
Fix a typo in EGL.h for setting mode.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Sonicadvance1 committed Feb 6, 2014
1 parent 2356e29 commit 7a9f7bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/GLInterface/EGL.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class cInterfaceEGL : public cInterfaceBase
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);
Expand Down

0 comments on commit 7a9f7bf

Please sign in to comment.