aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sherlock/graphics.cpp8
-rw-r--r--engines/sherlock/graphics.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/engines/sherlock/graphics.cpp b/engines/sherlock/graphics.cpp
index 5dafb4cc76..bdb4df6c83 100644
--- a/engines/sherlock/graphics.cpp
+++ b/engines/sherlock/graphics.cpp
@@ -31,14 +31,6 @@ Surface::Surface(uint16 width, uint16 height): _freePixels(true) {
create(width, height);
}
-Surface::Surface(Surface &src, const Common::Rect &r) : _freePixels(false) {
- setPixels(src.getBasePtr(r.left, r.top));
- w = r.width();
- h = r.height();
- pitch = src.pitch;
- format = Graphics::PixelFormat::createFormatCLUT8();
-}
-
Surface::Surface() : _freePixels(false) {
}
diff --git a/engines/sherlock/graphics.h b/engines/sherlock/graphics.h
index 8e1bd438ea..8ed508fad0 100644
--- a/engines/sherlock/graphics.h
+++ b/engines/sherlock/graphics.h
@@ -36,8 +36,6 @@ private:
bool clip(Common::Rect &srcBounds, Common::Rect &destBounds);
protected:
virtual void addDirtyRect(const Common::Rect &r) {}
-
- Surface(Surface &src, const Common::Rect &r);
public:
Surface(uint16 width, uint16 height);
Surface();