aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
diff options
context:
space:
mode:
authormd52011-05-05 12:40:10 +0300
committermd52011-05-05 12:54:31 +0300
commit9abc42019acc58a6028b3ed902317eedd0eee826 (patch)
tree6af6ef7a51fd322aad86dda5fa6d1c1fddc41237 /engines/sword25
parent608ce4343a06d0ee20e301d347ac8cd098b2ab7c (diff)
downloadscummvm-rg350-9abc42019acc58a6028b3ed902317eedd0eee826.tar.gz
scummvm-rg350-9abc42019acc58a6028b3ed902317eedd0eee826.tar.bz2
scummvm-rg350-9abc42019acc58a6028b3ed902317eedd0eee826.zip
SWORD25: Remove unused code
Diffstat (limited to 'engines/sword25')
-rw-r--r--engines/sword25/gfx/graphicengine.cpp4
-rw-r--r--engines/sword25/gfx/graphicengine.h11
2 files changed, 0 insertions, 15 deletions
diff --git a/engines/sword25/gfx/graphicengine.cpp b/engines/sword25/gfx/graphicengine.cpp
index 8bdf2a4a6e..2772401c6a 100644
--- a/engines/sword25/gfx/graphicengine.cpp
+++ b/engines/sword25/gfx/graphicengine.cpp
@@ -239,10 +239,6 @@ bool GraphicEngine::fill(const Common::Rect *fillRectPtr, uint color) {
return true;
}
-Graphics::Surface *GraphicEngine::getScreenshot() {
- return &_frameBuffer;
-}
-
// -----------------------------------------------------------------------------
// RESOURCE MANAGING
// -----------------------------------------------------------------------------
diff --git a/engines/sword25/gfx/graphicengine.h b/engines/sword25/gfx/graphicengine.h
index 38eecaa60f..ebd815931a 100644
--- a/engines/sword25/gfx/graphicengine.h
+++ b/engines/sword25/gfx/graphicengine.h
@@ -146,17 +146,6 @@ public:
*/
bool saveThumbnailScreenshot(const Common::String &filename);
- /**
- * Reads the current contents of the frame buffer
- * Notes: This method is for creating screenshots. It is not very optimised. It should only be called
- * after a call to EndFrame(), and before the next call to StartFrame().
- * @param Width Returns the width of the frame buffer
- * @param Height Returns the height of the frame buffer
- * @param Data Returns the raw data of the frame buffer as an array of 32-bit color values.
- */
- Graphics::Surface *getScreenshot();
-
-
RenderObjectPtr<Panel> getMainPanel();
/**