summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_base.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-21 07:18:34 +0200
committerGitHub <noreply@github.com>2018-08-21 07:18:34 +0200
commitbf89a99839abb30e33872b8401eae30cd95e7585 (patch)
treef250ea3a29a736969eabc1bcac8ff6158a4ab3b0 /src/video_core/renderer_base.cpp
parentMerge pull request #1129 from lioncash/header (diff)
parentrasterizer_interface: Remove ScreenInfo from AccelerateDraw()'s signature (diff)
downloadyuzu-bf89a99839abb30e33872b8401eae30cd95e7585.tar
yuzu-bf89a99839abb30e33872b8401eae30cd95e7585.tar.gz
yuzu-bf89a99839abb30e33872b8401eae30cd95e7585.tar.bz2
yuzu-bf89a99839abb30e33872b8401eae30cd95e7585.tar.lz
yuzu-bf89a99839abb30e33872b8401eae30cd95e7585.tar.xz
yuzu-bf89a99839abb30e33872b8401eae30cd95e7585.tar.zst
yuzu-bf89a99839abb30e33872b8401eae30cd95e7585.zip
Diffstat (limited to 'src/video_core/renderer_base.cpp')
-rw-r--r--src/video_core/renderer_base.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/video_core/renderer_base.cpp b/src/video_core/renderer_base.cpp
index afd86a83a..645d1521a 100644
--- a/src/video_core/renderer_base.cpp
+++ b/src/video_core/renderer_base.cpp
@@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
-#include <memory>
#include "core/frontend/emu_window.h"
#include "core/settings.h"
#include "video_core/renderer_base.h"
@@ -17,18 +16,11 @@ RendererBase::RendererBase(Core::Frontend::EmuWindow& window) : render_window{wi
RendererBase::~RendererBase() = default;
void RendererBase::RefreshBaseSettings() {
- RefreshRasterizerSetting();
UpdateCurrentFramebufferLayout();
renderer_settings.use_framelimiter = Settings::values.toggle_framelimit;
}
-void RendererBase::RefreshRasterizerSetting() {
- if (rasterizer == nullptr) {
- rasterizer = std::make_unique<RasterizerOpenGL>(render_window);
- }
-}
-
void RendererBase::UpdateCurrentFramebufferLayout() {
const Layout::FramebufferLayout& layout = render_window.GetFramebufferLayout();