diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-11 00:58:57 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-08-22 01:51:45 -0300 |
| commit | da53bcee60fced902479b72b40ed26b099fa9938 (patch) | |
| tree | b83232ad60b7725090b31bd3e347c9df774ced40 /src/video_core/gpu_asynch.h | |
| parent | ada9b7fb77f0c30a71396c1084616d912245ccab (diff) | |
video_core: Initialize renderer with a GPU
Add an extra step in GPU initialization to be able to initialize render
backends with a valid GPU instance.
Diffstat (limited to 'src/video_core/gpu_asynch.h')
| -rw-r--r-- | src/video_core/gpu_asynch.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/gpu_asynch.h b/src/video_core/gpu_asynch.h index 15e9f1d38..f89c855a5 100644 --- a/src/video_core/gpu_asynch.h +++ b/src/video_core/gpu_asynch.h @@ -20,8 +20,7 @@ namespace VideoCommon { /// Implementation of GPU interface that runs the GPU asynchronously class GPUAsynch final : public Tegra::GPU { public: - explicit GPUAsynch(Core::System& system, std::unique_ptr<VideoCore::RendererBase>&& renderer, - std::unique_ptr<Core::Frontend::GraphicsContext>&& context); + explicit GPUAsynch(Core::System& system); ~GPUAsynch() override; void Start() override; @@ -42,7 +41,6 @@ protected: private: GPUThread::ThreadManager gpu_thread; std::unique_ptr<Core::Frontend::GraphicsContext> cpu_context; - std::unique_ptr<Core::Frontend::GraphicsContext> gpu_context; }; } // namespace VideoCommon |
