summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-08 18:03:58 +0100
committerGitHub <noreply@github.com>2019-03-08 18:03:58 +0100
commit78c803b4f3462161992bedbeed6b44efbd681e59 (patch)
treeb19813e42ef4c344a784dc4af3d6c59b8f20b741
parentMerge pull request #2191 from ReinUsesLisp/maxwell-to-vk (diff)
parentvideo_core/gpu: Make GPU's destructor virtual (diff)
downloadyuzu-78c803b4f3462161992bedbeed6b44efbd681e59.tar
yuzu-78c803b4f3462161992bedbeed6b44efbd681e59.tar.gz
yuzu-78c803b4f3462161992bedbeed6b44efbd681e59.tar.bz2
yuzu-78c803b4f3462161992bedbeed6b44efbd681e59.tar.lz
yuzu-78c803b4f3462161992bedbeed6b44efbd681e59.tar.xz
yuzu-78c803b4f3462161992bedbeed6b44efbd681e59.tar.zst
yuzu-78c803b4f3462161992bedbeed6b44efbd681e59.zip
-rw-r--r--src/video_core/gpu.h2
-rw-r--r--src/video_core/gpu_asynch.h2
-rw-r--r--src/video_core/gpu_synch.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index 14a421cc1..56a203275 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 58046f3e9..e6a807aba 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 658f683e2..7d5a241ff 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(