Browse Source
Merge pull request #2208 from lioncash/gpu
video_core/gpu: Make GPU's destructor virtual
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
3 additions and
3 deletions
-
src/video_core/gpu.h
-
src/video_core/gpu_asynch.h
-
src/video_core/gpu_synch.h
|
|
|
@ -123,7 +123,7 @@ class GPU { |
|
|
|
public: |
|
|
|
explicit GPU(Core::System& system, VideoCore::RendererBase& renderer); |
|
|
|
|
|
|
|
~GPU(); |
|
|
|
virtual ~GPU(); |
|
|
|
|
|
|
|
struct MethodCall { |
|
|
|
u32 method{}; |
|
|
|
|
|
|
|
@ -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( |
|
|
|
|
|
|
|
@ -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( |
|
|
|
|