summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2019-05-07 10:54:04 +0200
committerGitHub <noreply@github.com>2019-05-07 10:54:04 +0200
commit6743982d28ac44b01a1597af8903e08674d18265 (patch)
tree205a3b154eee00c9878b59c29c9d3f0c317cff11 /src
parentMerge pull request #2448 from lioncash/pragma (diff)
parentcore/frontend/emu_window: Make GraphicsContext's destructor virtual (diff)
downloadyuzu-6743982d28ac44b01a1597af8903e08674d18265.tar
yuzu-6743982d28ac44b01a1597af8903e08674d18265.tar.gz
yuzu-6743982d28ac44b01a1597af8903e08674d18265.tar.bz2
yuzu-6743982d28ac44b01a1597af8903e08674d18265.tar.lz
yuzu-6743982d28ac44b01a1597af8903e08674d18265.tar.xz
yuzu-6743982d28ac44b01a1597af8903e08674d18265.tar.zst
yuzu-6743982d28ac44b01a1597af8903e08674d18265.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/frontend/emu_window.cpp2
-rw-r--r--src/core/frontend/emu_window.h2
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;