summaryrefslogtreecommitdiff
path: root/src/safeopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/safeopenglgraphics.h')
-rw-r--r--src/safeopenglgraphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/safeopenglgraphics.h b/src/safeopenglgraphics.h
index e0f2d390a..b377874ad 100644
--- a/src/safeopenglgraphics.h
+++ b/src/safeopenglgraphics.h
@@ -131,7 +131,7 @@ class SafeOpenGLGraphics final : public Graphics
/**
* Takes a screenshot and returns it as SDL surface.
*/
- SDL_Surface *getScreenshot() override;
+ SDL_Surface *getScreenshot() override A_WARN_UNUSED;
void prepareScreenshot() override;