diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-04 07:47:16 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-05-04 07:47:38 +0200 |
commit | 1230a0e7cebdba78298002f6ea445f293e642ceb (patch) | |
tree | 2c311e3e42a5ee527cacec8c194d7092dd3fb351 /src | |
parent | Merge pull request #2408 from FearlessTobi/port-4215 (diff) | |
download | yuzu-1230a0e7cebdba78298002f6ea445f293e642ceb.tar yuzu-1230a0e7cebdba78298002f6ea445f293e642ceb.tar.gz yuzu-1230a0e7cebdba78298002f6ea445f293e642ceb.tar.bz2 yuzu-1230a0e7cebdba78298002f6ea445f293e642ceb.tar.lz yuzu-1230a0e7cebdba78298002f6ea445f293e642ceb.tar.xz yuzu-1230a0e7cebdba78298002f6ea445f293e642ceb.tar.zst yuzu-1230a0e7cebdba78298002f6ea445f293e642ceb.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/frontend/emu_window.cpp | 2 | ||||
-rw-r--r-- | src/core/frontend/emu_window.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/core/frontend/emu_window.cpp b/src/core/frontend/emu_window.cpp index 1320bbe77..eda466a5d 100644 --- a/src/core/frontend/emu_window.cpp +++ b/src/core/frontend/emu_window.cpp @@ -10,6 +10,8 @@ namespace Core::Frontend { +GraphicsContext::~GraphicsContext() = default; + class EmuWindow::TouchState : public Input::Factory<Input::TouchDevice>, public std::enable_shared_from_this<TouchState> { public: 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; |