diff options
author | Lioncash <mathew1800@gmail.com> | 2022-02-02 18:59:36 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-02-02 19:17:12 +0100 |
commit | f785f73e9279dcb9cfdee93da694d7a1f55142ea (patch) | |
tree | 52edfca975d8df963ef38987ea1e99b7fb6f5553 /src/video_core/renderer_base.h | |
parent | general: Move deleted copy/move constructor/assignment operators to public interface (diff) | |
download | yuzu-f785f73e9279dcb9cfdee93da694d7a1f55142ea.tar yuzu-f785f73e9279dcb9cfdee93da694d7a1f55142ea.tar.gz yuzu-f785f73e9279dcb9cfdee93da694d7a1f55142ea.tar.bz2 yuzu-f785f73e9279dcb9cfdee93da694d7a1f55142ea.tar.lz yuzu-f785f73e9279dcb9cfdee93da694d7a1f55142ea.tar.xz yuzu-f785f73e9279dcb9cfdee93da694d7a1f55142ea.tar.zst yuzu-f785f73e9279dcb9cfdee93da694d7a1f55142ea.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_base.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h index bb204454e..c5f974080 100644 --- a/src/video_core/renderer_base.h +++ b/src/video_core/renderer_base.h @@ -5,9 +5,10 @@ #pragma once #include <atomic> +#include <functional> #include <memory> -#include <optional> +#include "common/common_funcs.h" #include "common/common_types.h" #include "core/frontend/emu_window.h" #include "video_core/gpu.h" @@ -28,8 +29,11 @@ struct RendererSettings { Layout::FramebufferLayout screenshot_framebuffer_layout; }; -class RendererBase : NonCopyable { +class RendererBase { public: + YUZU_NON_COPYABLE(RendererBase); + YUZU_NON_MOVEABLE(RendererBase); + explicit RendererBase(Core::Frontend::EmuWindow& window, std::unique_ptr<Core::Frontend::GraphicsContext> context); virtual ~RendererBase(); |