aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/surface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/surface.cpp')
-rw-r--r--engines/sherlock/surface.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/sherlock/surface.cpp b/engines/sherlock/surface.cpp
index b9df33a309..47b7d4a780 100644
--- a/engines/sherlock/surface.cpp
+++ b/engines/sherlock/surface.cpp
@@ -33,14 +33,6 @@ Surface::Surface(int width, int height) : Graphics::ManagedSurface(width, height
create(width, height);
}
-void Surface::setPixelsData(byte *pixelsPtr, int sizeX, int sizeY, const Graphics::PixelFormat &pixFormat) {
- Graphics::ManagedSurface::setPixels(pixelsPtr);
- this->format = pixFormat;
- this->w = sizeX;
- this->h = sizeY;
- this->pitch = sizeX * pixFormat.bytesPerPixel;
-}
-
void Surface::writeString(const Common::String &str, const Common::Point &pt, uint overrideColor) {
Fonts::writeString(this, str, pt, overrideColor);
}