diff options
Diffstat (limited to 'src/resources/imagewriter.cpp')
-rw-r--r-- | src/resources/imagewriter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/imagewriter.cpp b/src/resources/imagewriter.cpp index f452a9050..2b8b8a7d9 100644 --- a/src/resources/imagewriter.cpp +++ b/src/resources/imagewriter.cpp @@ -35,7 +35,8 @@ #include "debug.h" -bool ImageWriter::writePNG(SDL_Surface *surface, const std::string &filename) +bool ImageWriter::writePNG(SDL_Surface *const surface, + const std::string &filename) { if (!surface) return false; |