| Index: core/cross/renderer.h
|
| ===================================================================
|
| --- core/cross/renderer.h (revision 22687)
|
| +++ core/cross/renderer.h (working copy)
|
| @@ -364,9 +364,8 @@
|
| int width,
|
| int height) = 0;
|
|
|
| - // Saves a png screenshot.
|
| - // Returns true on success and false on failure.
|
| - virtual bool SaveScreen(const String& file_name) = 0;
|
| + // Returns the screen as a Bitmap. Will return a null reference on error.
|
| + virtual Bitmap::Ref TakeScreenshot() = 0;
|
|
|
| ServiceLocator* service_locator() const { return service_locator_; }
|
|
|
|
|