SDL: Improve debug and warning messages when saving screenshots
In particular this adds a warning when failing to save a screenshot in OpenGL mode (there was already one in SurfaceSDL mode).
This commit is contained in:
parent
e96c057c3d
commit
a9ae691513
4 changed files with 30 additions and 9 deletions
|
@ -296,8 +296,9 @@ protected:
|
|||
* uses Common::DumpFile for writing the screenshot.
|
||||
*
|
||||
* @param filename The output filename.
|
||||
* @return true on success, false otherwise
|
||||
*/
|
||||
void saveScreenshot(const Common::String &filename) const;
|
||||
bool saveScreenshot(const Common::String &filename) const;
|
||||
|
||||
private:
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue