diff options
Diffstat (limited to 'src/video_core/gpu_asynch.cpp')
| -rw-r--r-- | src/video_core/gpu_asynch.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/gpu_asynch.cpp b/src/video_core/gpu_asynch.cpp index cc434faf7..20e73a37e 100644 --- a/src/video_core/gpu_asynch.cpp +++ b/src/video_core/gpu_asynch.cpp | |||
| @@ -12,8 +12,9 @@ namespace VideoCommon { | |||
| 12 | 12 | ||
| 13 | GPUAsynch::GPUAsynch(Core::System& system, std::unique_ptr<VideoCore::RendererBase>&& renderer_, | 13 | GPUAsynch::GPUAsynch(Core::System& system, std::unique_ptr<VideoCore::RendererBase>&& renderer_, |
| 14 | std::unique_ptr<Core::Frontend::GraphicsContext>&& context) | 14 | std::unique_ptr<Core::Frontend::GraphicsContext>&& context) |
| 15 | : GPU(system, std::move(renderer_), true), gpu_thread{system}, gpu_context(std::move(context)), | 15 | : GPU(system, std::move(renderer_), true), gpu_thread{system}, |
| 16 | cpu_context(renderer->GetRenderWindow().CreateSharedContext()) {} | 16 | cpu_context(renderer->GetRenderWindow().CreateSharedContext()), |
| 17 | gpu_context(std::move(context)) {} | ||
| 17 | 18 | ||
| 18 | GPUAsynch::~GPUAsynch() = default; | 19 | GPUAsynch::~GPUAsynch() = default; |
| 19 | 20 | ||