Skip to content
Snippets Groups Projects
Unverified Commit 6743982d authored by Rodrigo Locatti's avatar Rodrigo Locatti Committed by GitHub
Browse files

Merge pull request #2447 from lioncash/dtor

core/frontend/emu_window: Make GraphicsContext's destructor virtual
parents 57db3f67 1230a0e7
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
namespace Core::Frontend { namespace Core::Frontend {
GraphicsContext::~GraphicsContext() = default;
class EmuWindow::TouchState : public Input::Factory<Input::TouchDevice>, class EmuWindow::TouchState : public Input::Factory<Input::TouchDevice>,
public std::enable_shared_from_this<TouchState> { public std::enable_shared_from_this<TouchState> {
public: public:
......
...@@ -19,6 +19,8 @@ namespace Core::Frontend { ...@@ -19,6 +19,8 @@ namespace Core::Frontend {
*/ */
class GraphicsContext { class GraphicsContext {
public: public:
virtual ~GraphicsContext();
/// Makes the graphics context current for the caller thread /// Makes the graphics context current for the caller thread
virtual void MakeCurrent() = 0; virtual void MakeCurrent() = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment