aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/surface.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2016-03-21 03:24:23 +0100
committerJohannes Schickel2016-03-21 16:24:13 +0100
commit892aa2886cee1ccf829e90fc72a941de22c49467 (patch)
tree5a688818054b2089e60293e6213377353265d30b /engines/sherlock/surface.cpp
parentce1be463c2dfea61e74a816d6590a1a4506483d2 (diff)
downloadscummvm-rg350-892aa2886cee1ccf829e90fc72a941de22c49467.tar.gz
scummvm-rg350-892aa2886cee1ccf829e90fc72a941de22c49467.tar.bz2
scummvm-rg350-892aa2886cee1ccf829e90fc72a941de22c49467.zip
SHERLOCK: Get rid of Surface::setPixelData.
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);
}