mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 00:29:11 +01:00
GLInterface: Add missing override specifiers
This commit is contained in:
parent
066af14272
commit
df2f6089be
@ -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;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user