aboutsummaryrefslogtreecommitdiff
path: root/src/core/frontend/emu_window.h
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2019-05-07 05:54:04 -0300
committerGitHub <noreply@github.com>2019-05-07 05:54:04 -0300
commit6743982d28ac44b01a1597af8903e08674d18265 (patch)
tree205a3b154eee00c9878b59c29c9d3f0c317cff11 /src/core/frontend/emu_window.h
parent57db3f6763a3082303384588d9efe6bc285e6e5f (diff)
parent1230a0e7cebdba78298002f6ea445f293e642ceb (diff)
Merge pull request #2447 from lioncash/dtor
core/frontend/emu_window: Make GraphicsContext's destructor virtual
Diffstat (limited to 'src/core/frontend/emu_window.h')
-rw-r--r--src/core/frontend/emu_window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/frontend/emu_window.h b/src/core/frontend/emu_window.h
index 70a522556..e2c290dc1 100644
--- a/src/core/frontend/emu_window.h
+++ b/src/core/frontend/emu_window.h
@@ -19,6 +19,8 @@ namespace Core::Frontend {
*/
class GraphicsContext {
public:
+ virtual ~GraphicsContext();
+
/// Makes the graphics context current for the caller thread
virtual void MakeCurrent() = 0;