From 892aa2886cee1ccf829e90fc72a941de22c49467 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 21 Mar 2016 03:24:23 +0100 Subject: SHERLOCK: Get rid of Surface::setPixelData. --- engines/sherlock/surface.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'engines/sherlock/surface.cpp') 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); } -- cgit v1.2.3