Correct some missing overrides.

This commit is contained in:
Unknown W. Brackets
2016-03-20 23:05:05 -07:00
parent 0009b55210
commit d90527e41e
2 changed files with 13 additions and 13 deletions
+7 -7
View File
@@ -26,14 +26,14 @@
class cInterfaceEGL : public cInterfaceBase {
public:
void SwapInterval(int Interval);
void Swap();
void SetMode(u32 mode) { s_opengl_mode = mode; }
void* GetFuncAddress(const std::string& name);
void SwapInterval(int Interval) override;
void Swap() override;
void SetMode(u32 mode) override { s_opengl_mode = mode; }
void* GetFuncAddress(const std::string& name) override;
bool Create(void *window_handle, bool core, bool use565) override;
bool MakeCurrent();
bool ClearCurrent();
void Shutdown();
bool MakeCurrent() override;
bool ClearCurrent() override;
void Shutdown() override;
protected:
EGLSurface egl_surf;
+6 -6
View File
@@ -71,12 +71,12 @@ public:
class AndroidEGLGraphicsContext : public AndroidGraphicsContext {
public:
AndroidEGLGraphicsContext() : wnd_(nullptr), gl(nullptr) {}
bool Init(ANativeWindow *wnd, int desiredBackbufferSizeX, int desiredBackbufferSizeY, int backbufferFormat, int androidVersion);
bool Init(ANativeWindow *wnd, int desiredBackbufferSizeX, int desiredBackbufferSizeY, int backbufferFormat, int androidVersion) override;
void Shutdown() override;
void SwapBuffers() override;
void SwapInterval(int interval) override {}
void Resize() {}
Thin3DContext *CreateThin3DContext() {
void Resize() override {}
Thin3DContext *CreateThin3DContext() override {
CheckGLExtensions();
return T3DCreateGLContext();
}
@@ -141,8 +141,8 @@ public:
void Shutdown() override {}
void SwapBuffers() override {}
void SwapInterval(int interval) override {}
void Resize() {}
Thin3DContext *CreateThin3DContext() {
void Resize() override {}
Thin3DContext *CreateThin3DContext() override {
CheckGLExtensions();
return T3DCreateGLContext();
}
@@ -161,7 +161,7 @@ public:
void SwapBuffers() override;
void Resize() override;
void *GetAPIContext() { return g_Vulkan; }
void *GetAPIContext() override { return g_Vulkan; }
Thin3DContext *CreateThin3DContext() override {
return T3DCreateVulkanContext(g_Vulkan);