aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu_asynch.cpp
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2020-04-15 14:40:05 -0400
committerGitHub <noreply@github.com>2020-04-15 14:40:05 -0400
commit99846b5da30bbb9a250ed32b2920f664c8ca2bcb (patch)
tree7be77cfd49e35ede430a15a086d8957042c39273 /src/video_core/gpu_asynch.cpp
parentee439fb0fc0a8a8f5cf7c2c992d0feeb6593535b (diff)
parent6ea751d91042ad6a5cc0b036150aa0d98a51e73e (diff)
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.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/gpu_asynch.cpp b/src/video_core/gpu_asynch.cpp
index cc434faf7b..20e73a37e4 100644
--- a/src/video_core/gpu_asynch.cpp
+++ b/src/video_core/gpu_asynch.cpp
@@ -12,8 +12,9 @@ namespace VideoCommon {
GPUAsynch::GPUAsynch(Core::System& system, std::unique_ptr<VideoCore::RendererBase>&& renderer_,
std::unique_ptr<Core::Frontend::GraphicsContext>&& context)
- : GPU(system, std::move(renderer_), true), gpu_thread{system}, gpu_context(std::move(context)),
- cpu_context(renderer->GetRenderWindow().CreateSharedContext()) {}
+ : GPU(system, std::move(renderer_), true), gpu_thread{system},
+ cpu_context(renderer->GetRenderWindow().CreateSharedContext()),
+ gpu_context(std::move(context)) {}
GPUAsynch::~GPUAsynch() = default;