diff options
author | german77 <juangerman-13@hotmail.com> | 2022-04-11 06:12:13 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-04-18 08:00:48 +0200 |
commit | 3e77466b8627a55f2c83e9c7223df1d32b30cd3f (patch) | |
tree | a1b521017df901537aace3a747e028fdc3f70aab /src/video_core/renderer_base.cpp | |
parent | Merge pull request #8204 from Docteh/translate_gameslist (diff) | |
download | yuzu-3e77466b8627a55f2c83e9c7223df1d32b30cd3f.tar yuzu-3e77466b8627a55f2c83e9c7223df1d32b30cd3f.tar.gz yuzu-3e77466b8627a55f2c83e9c7223df1d32b30cd3f.tar.bz2 yuzu-3e77466b8627a55f2c83e9c7223df1d32b30cd3f.tar.lz yuzu-3e77466b8627a55f2c83e9c7223df1d32b30cd3f.tar.xz yuzu-3e77466b8627a55f2c83e9c7223df1d32b30cd3f.tar.zst yuzu-3e77466b8627a55f2c83e9c7223df1d32b30cd3f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_base.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_base.cpp b/src/video_core/renderer_base.cpp index c9627cffd..9756a81d6 100644 --- a/src/video_core/renderer_base.cpp +++ b/src/video_core/renderer_base.cpp @@ -26,6 +26,10 @@ void RendererBase::UpdateCurrentFramebufferLayout() { render_window.UpdateCurrentFramebufferLayout(layout.width, layout.height); } +bool RendererBase::IsScreenshotPending() const { + return renderer_settings.screenshot_requested; +} + void RendererBase::RequestScreenshot(void* data, std::function<void(bool)> callback, const Layout::FramebufferLayout& layout) { if (renderer_settings.screenshot_requested) { |