From df2f6089bea14e5de3bdd520542c1f7ec31f1246 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 2 Jan 2016 14:12:32 -0500 Subject: [PATCH] GLInterface: Add missing override specifiers --- Source/Core/Common/GL/GLInterface/AGL.h | 18 +++++++++--------- Source/Core/Common/GL/GLInterface/EGL.h | 16 ++++++++-------- Source/Core/Common/GL/GLInterface/WGL.h | 18 +++++++++--------- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/Source/Core/Common/GL/GLInterface/AGL.h b/Source/Core/Common/GL/GLInterface/AGL.h index b08b7ec802..f9aeb77a95 100644 --- a/Source/Core/Common/GL/GLInterface/AGL.h +++ b/Source/Core/Common/GL/GLInterface/AGL.h @@ -13,15 +13,15 @@ class cInterfaceAGL : public cInterfaceBase { private: - NSView *cocoaWin; - NSOpenGLContext *cocoaCtx; + NSView* cocoaWin; + NSOpenGLContext* cocoaCtx; public: - void Swap(); - bool Create(void *window_handle, bool core); - bool MakeCurrent(); - bool ClearCurrent(); - void Shutdown(); - void Update(); - void SwapInterval(int interval); + void Swap() override; + bool Create(void* window_handle, bool core) override; + bool MakeCurrent() override; + bool ClearCurrent() override; + void Shutdown() override; + void Update() override; + void SwapInterval(int interval) override; }; diff --git a/Source/Core/Common/GL/GLInterface/EGL.h b/Source/Core/Common/GL/GLInterface/EGL.h index f25b129d90..f3a769dfd8 100644 --- a/Source/Core/Common/GL/GLInterface/EGL.h +++ b/Source/Core/Common/GL/GLInterface/EGL.h @@ -21,12 +21,12 @@ protected: virtual EGLNativeWindowType InitializePlatform(EGLNativeWindowType host_window, EGLConfig config) = 0; virtual void ShutdownPlatform() = 0; public: - void SwapInterval(int Interval); - void Swap(); - void SetMode(u32 mode) { s_opengl_mode = mode; } - void* GetFuncAddress(const std::string& name); - bool Create(void *window_handle, bool core); - bool MakeCurrent(); - bool ClearCurrent(); - void Shutdown(); + void Swap() override; + void SwapInterval(int interval) override; + void SetMode(u32 mode) override { s_opengl_mode = mode; } + void* GetFuncAddress(const std::string& name) override; + bool Create(void* window_handle, bool core) override; + bool MakeCurrent() override; + bool ClearCurrent() override; + void Shutdown() override; }; diff --git a/Source/Core/Common/GL/GLInterface/WGL.h b/Source/Core/Common/GL/GLInterface/WGL.h index 6a1b8c133e..8d77486247 100644 --- a/Source/Core/Common/GL/GLInterface/WGL.h +++ b/Source/Core/Common/GL/GLInterface/WGL.h @@ -10,16 +10,16 @@ class cInterfaceWGL : public cInterfaceBase { public: - void SwapInterval(int Interval); - void Swap(); - void* GetFuncAddress(const std::string& name); - bool Create(void *window_handle, bool core); - bool MakeCurrent(); - bool ClearCurrent(); - void Shutdown(); + void SwapInterval(int interval) override; + void Swap() override; + void* GetFuncAddress(const std::string& name) override; + bool Create(void* window_handle, bool core) override; + bool MakeCurrent() override; + bool ClearCurrent() override; + void Shutdown() override; - void Update(); - bool PeekMessages(); + void Update() override; + bool PeekMessages() override; HWND m_window_handle; };