summaryrefslogtreecommitdiffstats
path: root/src/video_core/video_core.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-11-20 23:48:22 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-11-20 23:50:24 +0100
commitfe1f06c856b768e9afcc9ba9ab8ef09b7152678c (patch)
tree898ea044f1a8367a5ef5abd5841267b484774cb8 /src/video_core/video_core.cpp
parentMerge pull request #7294 from vonchenplus/fix_image_update_error_when_width_too_small (diff)
downloadyuzu-fe1f06c856b768e9afcc9ba9ab8ef09b7152678c.tar
yuzu-fe1f06c856b768e9afcc9ba9ab8ef09b7152678c.tar.gz
yuzu-fe1f06c856b768e9afcc9ba9ab8ef09b7152678c.tar.bz2
yuzu-fe1f06c856b768e9afcc9ba9ab8ef09b7152678c.tar.lz
yuzu-fe1f06c856b768e9afcc9ba9ab8ef09b7152678c.tar.xz
yuzu-fe1f06c856b768e9afcc9ba9ab8ef09b7152678c.tar.zst
yuzu-fe1f06c856b768e9afcc9ba9ab8ef09b7152678c.zip
Diffstat (limited to 'src/video_core/video_core.cpp')
-rw-r--r--src/video_core/video_core.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/video_core/video_core.cpp b/src/video_core/video_core.cpp
index e852c817e..329bf4def 100644
--- a/src/video_core/video_core.cpp
+++ b/src/video_core/video_core.cpp
@@ -55,10 +55,4 @@ std::unique_ptr<Tegra::GPU> CreateGPU(Core::Frontend::EmuWindow& emu_window, Cor
}
}
-float GetResolutionScaleFactor(const RendererBase& renderer) {
- return Settings::values.resolution_info.active
- ? Settings::values.resolution_info.up_factor
- : renderer.GetRenderWindow().GetFramebufferLayout().GetScalingRatio();
-}
-
} // namespace VideoCore