diff options
| author | 2020-04-15 14:40:05 -0400 | |
|---|---|---|
| committer | 2020-04-15 14:40:05 -0400 | |
| commit | 4398bdb4c738244e6fad1d775c092daa46ae43cb (patch) | |
| tree | 7be77cfd49e35ede430a15a086d8957042c39273 /src/video_core/gpu_asynch.cpp | |
| parent | Merge pull request #3662 from ReinUsesLisp/constant-attrs (diff) | |
| parent | CMakeLists: Make -Wreorder a compile-time error (diff) | |
| download | yuzu-4398bdb4c738244e6fad1d775c092daa46ae43cb.tar.gz yuzu-4398bdb4c738244e6fad1d775c092daa46ae43cb.tar.xz yuzu-4398bdb4c738244e6fad1d775c092daa46ae43cb.zip | |
Merge pull request #3670 from lioncash/reorder
CMakeLists: Make -Wreorder a compile-time error
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 | ||