summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_base.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-07-26 07:52:33 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-29 03:46:08 +0200
commit7ac99bb127fe6c09794b7e7ebe4d1c518817f40a (patch)
tree7ed5381e6e328611773754fb8a800559c7e0b692 /src/video_core/renderer_base.h
parentrenderer_vulkan: Implement screenshots (diff)
downloadyuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.tar
yuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.tar.gz
yuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.tar.bz2
yuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.tar.lz
yuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.tar.xz
yuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.tar.zst
yuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.zip
Diffstat (limited to 'src/video_core/renderer_base.h')
-rw-r--r--src/video_core/renderer_base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h
index 22b80c328..bb204454e 100644
--- a/src/video_core/renderer_base.h
+++ b/src/video_core/renderer_base.h
@@ -24,7 +24,7 @@ struct RendererSettings {
// Screenshot
std::atomic<bool> screenshot_requested{false};
void* screenshot_bits{};
- std::function<void()> screenshot_complete_callback;
+ std::function<void(bool)> screenshot_complete_callback;
Layout::FramebufferLayout screenshot_framebuffer_layout;
};
@@ -80,7 +80,7 @@ public:
void RefreshBaseSettings();
/// Request a screenshot of the next frame
- void RequestScreenshot(void* data, std::function<void()> callback,
+ void RequestScreenshot(void* data, std::function<void(bool)> callback,
const Layout::FramebufferLayout& layout);
protected: