summaryrefslogtreecommitdiff
path: root/src/video_core/renderer_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/renderer_base.h')
-rw-r--r--src/video_core/renderer_base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h
index c5f974080..30d19b178 100644
--- a/src/video_core/renderer_base.h
+++ b/src/video_core/renderer_base.h
@@ -83,6 +83,9 @@ public:
83 /// Refreshes the settings common to all renderers 83 /// Refreshes the settings common to all renderers
84 void RefreshBaseSettings(); 84 void RefreshBaseSettings();
85 85
86 /// Returns true if a screenshot is being processed
87 bool IsScreenshotPending() const;
88
86 /// Request a screenshot of the next frame 89 /// Request a screenshot of the next frame
87 void RequestScreenshot(void* data, std::function<void(bool)> callback, 90 void RequestScreenshot(void* data, std::function<void(bool)> callback,
88 const Layout::FramebufferLayout& layout); 91 const Layout::FramebufferLayout& layout);