diff options
| author | bunnei <bunneidev@gmail.com> | 2019-03-08 12:03:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-08 12:03:58 -0500 |
| commit | fc3d9ebe417a00a5feaabdee57cbbf6bb900f009 (patch) | |
| tree | b19813e42ef4c344a784dc4af3d6c59b8f20b741 /src/video_core | |
| parent | ae4fd2c6196e0a9e7698df683a1d645691386027 (diff) | |
| parent | bd263e75cc214e75c6aacbd39291fea41f2574dc (diff) | |
Merge pull request #2208 from lioncash/gpu
video_core/gpu: Make GPU's destructor virtual
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/gpu.h | 2 | ||||
| -rw-r--r-- | src/video_core/gpu_asynch.h | 2 | ||||
| -rw-r--r-- | src/video_core/gpu_synch.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index 14a421cc1e..56a2032759 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -123,7 +123,7 @@ class GPU { public: explicit GPU(Core::System& system, VideoCore::RendererBase& renderer); - ~GPU(); + virtual ~GPU(); struct MethodCall { u32 method{}; diff --git a/src/video_core/gpu_asynch.h b/src/video_core/gpu_asynch.h index 58046f3e96..e6a807abae 100644 --- a/src/video_core/gpu_asynch.h +++ b/src/video_core/gpu_asynch.h @@ -21,7 +21,7 @@ class ThreadManager; class GPUAsynch : public Tegra::GPU { public: explicit GPUAsynch(Core::System& system, VideoCore::RendererBase& renderer); - ~GPUAsynch(); + ~GPUAsynch() override; void PushGPUEntries(Tegra::CommandList&& entries) override; void SwapBuffers( diff --git a/src/video_core/gpu_synch.h b/src/video_core/gpu_synch.h index 658f683e2b..7d5a241ff2 100644 --- a/src/video_core/gpu_synch.h +++ b/src/video_core/gpu_synch.h @@ -16,7 +16,7 @@ namespace VideoCommon { class GPUSynch : public Tegra::GPU { public: explicit GPUSynch(Core::System& system, VideoCore::RendererBase& renderer); - ~GPUSynch(); + ~GPUSynch() override; void PushGPUEntries(Tegra::CommandList&& entries) override; void SwapBuffers( |
