summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-04-02 18:25:02 +0200
committerGitHub <noreply@github.com>2019-04-02 18:25:02 +0200
commit25c1363a1167cc5833111e78e33b2561f1ceb76c (patch)
treecde76141329ed4ddeddd71c93c102431421bd482 /drivers
parentf5013e327769df7168e5f6bd68aa6309d2b825de (diff)
parentf9f2413e69b9bd821c4e871f1ce46d3a5eafeb0c (diff)
Merge pull request #27597 from marxin/fix-Wnon-virtual-dtor-warnings
Fix -Wnon-virtual-dtor warnings.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gl_context/context_gl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gl_context/context_gl.h b/drivers/gl_context/context_gl.h
index 13141d795c..890683b7c5 100644
--- a/drivers/gl_context/context_gl.h
+++ b/drivers/gl_context/context_gl.h
@@ -58,7 +58,7 @@ public:
virtual bool is_using_vsync() const = 0;
ContextGL();
- ~ContextGL();
+ virtual ~ContextGL();
};
#endif