bootmanager: Don't create another screenshot request if previous one is not done yet
This commit is contained in:
parent
637f7e6928
commit
3e77466b86
3 changed files with 13 additions and 0 deletions
|
@ -83,6 +83,9 @@ public:
|
|||
/// Refreshes the settings common to all renderers
|
||||
void RefreshBaseSettings();
|
||||
|
||||
/// Returns true if a screenshot is being processed
|
||||
bool IsScreenshotPending() const;
|
||||
|
||||
/// Request a screenshot of the next frame
|
||||
void RequestScreenshot(void* data, std::function<void(bool)> callback,
|
||||
const Layout::FramebufferLayout& layout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue