summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-04-15 19:28:28 +0200
committerLioncash <mathew1800@gmail.com>2020-04-15 20:14:41 +0200
commit213fff67bcca6894602232bf721adf0b590bfcdf (patch)
tree7be77cfd49e35ede430a15a086d8957042c39273 /src/video_core
parentMerge pull request #3662 from ReinUsesLisp/constant-attrs (diff)
downloadyuzu-213fff67bcca6894602232bf721adf0b590bfcdf.tar
yuzu-213fff67bcca6894602232bf721adf0b590bfcdf.tar.gz
yuzu-213fff67bcca6894602232bf721adf0b590bfcdf.tar.bz2
yuzu-213fff67bcca6894602232bf721adf0b590bfcdf.tar.lz
yuzu-213fff67bcca6894602232bf721adf0b590bfcdf.tar.xz
yuzu-213fff67bcca6894602232bf721adf0b590bfcdf.tar.zst
yuzu-213fff67bcca6894602232bf721adf0b590bfcdf.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/gpu_asynch.cpp5
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp4
2 files changed, 5 insertions, 4 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 {
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;
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index f1a28cc21..b2a179746 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -315,8 +315,8 @@ public:
RendererOpenGL::RendererOpenGL(Core::Frontend::EmuWindow& emu_window, Core::System& system,
Core::Frontend::GraphicsContext& context)
- : VideoCore::RendererBase{emu_window}, emu_window{emu_window}, system{system},
- frame_mailbox{}, context{context}, has_debug_tool{HasDebugTool()} {}
+ : RendererBase{emu_window}, emu_window{emu_window}, system{system}, context{context},
+ has_debug_tool{HasDebugTool()} {}
RendererOpenGL::~RendererOpenGL() = default;