GLInterface: Add missing override specifiers

This commit is contained in:
Lioncash 2016-01-02 14:12:32 -05:00
parent 066af14272
commit df2f6089be
3 changed files with 26 additions and 26 deletions

View File

@ -16,12 +16,12 @@ private:
NSView* cocoaWin; NSView* cocoaWin;
NSOpenGLContext* cocoaCtx; NSOpenGLContext* cocoaCtx;
public: public:
void Swap(); void Swap() override;
bool Create(void *window_handle, bool core); bool Create(void* window_handle, bool core) override;
bool MakeCurrent(); bool MakeCurrent() override;
bool ClearCurrent(); bool ClearCurrent() override;
void Shutdown(); void Shutdown() override;
void Update(); void Update() override;
void SwapInterval(int interval); void SwapInterval(int interval) override;
}; };

View File

@ -21,12 +21,12 @@ protected:
virtual EGLNativeWindowType InitializePlatform(EGLNativeWindowType host_window, EGLConfig config) = 0; virtual EGLNativeWindowType InitializePlatform(EGLNativeWindowType host_window, EGLConfig config) = 0;
virtual void ShutdownPlatform() = 0; virtual void ShutdownPlatform() = 0;
public: public:
void SwapInterval(int Interval); void Swap() override;
void Swap(); void SwapInterval(int interval) override;
void SetMode(u32 mode) { s_opengl_mode = mode; } void SetMode(u32 mode) override { s_opengl_mode = mode; }
void* GetFuncAddress(const std::string& name); void* GetFuncAddress(const std::string& name) override;
bool Create(void *window_handle, bool core); bool Create(void* window_handle, bool core) override;
bool MakeCurrent(); bool MakeCurrent() override;
bool ClearCurrent(); bool ClearCurrent() override;
void Shutdown(); void Shutdown() override;
}; };

View File

@ -10,16 +10,16 @@
class cInterfaceWGL : public cInterfaceBase class cInterfaceWGL : public cInterfaceBase
{ {
public: public:
void SwapInterval(int Interval); void SwapInterval(int interval) override;
void Swap(); void Swap() override;
void* GetFuncAddress(const std::string& name); void* GetFuncAddress(const std::string& name) override;
bool Create(void *window_handle, bool core); bool Create(void* window_handle, bool core) override;
bool MakeCurrent(); bool MakeCurrent() override;
bool ClearCurrent(); bool ClearCurrent() override;
void Shutdown(); void Shutdown() override;
void Update(); void Update() override;
bool PeekMessages(); bool PeekMessages() override;
HWND m_window_handle; HWND m_window_handle;
}; };