Merge pull request #2208 from lioncash/gpu
video_core/gpu: Make GPU's destructor virtual
This commit is contained in:
commit
78c803b4f3
|
@ -123,7 +123,7 @@ class GPU {
|
||||||
public:
|
public:
|
||||||
explicit GPU(Core::System& system, VideoCore::RendererBase& renderer);
|
explicit GPU(Core::System& system, VideoCore::RendererBase& renderer);
|
||||||
|
|
||||||
~GPU();
|
virtual ~GPU();
|
||||||
|
|
||||||
struct MethodCall {
|
struct MethodCall {
|
||||||
u32 method{};
|
u32 method{};
|
||||||
|
|
|
@ -21,7 +21,7 @@ class ThreadManager;
|
||||||
class GPUAsynch : public Tegra::GPU {
|
class GPUAsynch : public Tegra::GPU {
|
||||||
public:
|
public:
|
||||||
explicit GPUAsynch(Core::System& system, VideoCore::RendererBase& renderer);
|
explicit GPUAsynch(Core::System& system, VideoCore::RendererBase& renderer);
|
||||||
~GPUAsynch();
|
~GPUAsynch() override;
|
||||||
|
|
||||||
void PushGPUEntries(Tegra::CommandList&& entries) override;
|
void PushGPUEntries(Tegra::CommandList&& entries) override;
|
||||||
void SwapBuffers(
|
void SwapBuffers(
|
||||||
|
|
|
@ -16,7 +16,7 @@ namespace VideoCommon {
|
||||||
class GPUSynch : public Tegra::GPU {
|
class GPUSynch : public Tegra::GPU {
|
||||||
public:
|
public:
|
||||||
explicit GPUSynch(Core::System& system, VideoCore::RendererBase& renderer);
|
explicit GPUSynch(Core::System& system, VideoCore::RendererBase& renderer);
|
||||||
~GPUSynch();
|
~GPUSynch() override;
|
||||||
|
|
||||||
void PushGPUEntries(Tegra::CommandList&& entries) override;
|
void PushGPUEntries(Tegra::CommandList&& entries) override;
|
||||||
void SwapBuffers(
|
void SwapBuffers(
|
||||||
|
|
Reference in New Issue