aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/graphics.h
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-17 21:27:34 +0200
committerJohannes Schickel2011-04-17 21:27:34 +0200
commitda734a4af024a72ee155bc25d6e45f994de6b060 (patch)
treec2ca3d8215cc8b38834e1a42e9f788d4fabce32b /engines/m4/graphics.h
parent877004dbdd967d2f57d494b1aaa1cb55aae0fd52 (diff)
downloadscummvm-rg350-da734a4af024a72ee155bc25d6e45f994de6b060.tar.gz
scummvm-rg350-da734a4af024a72ee155bc25d6e45f994de6b060.tar.bz2
scummvm-rg350-da734a4af024a72ee155bc25d6e45f994de6b060.zip
ALL/GRAPHICS: Remove Surface::bytesPerPixel.
Diffstat (limited to 'engines/m4/graphics.h')
-rw-r--r--engines/m4/graphics.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/m4/graphics.h b/engines/m4/graphics.h
index d74f7adfe8..96e81f746e 100644
--- a/engines/m4/graphics.h
+++ b/engines/m4/graphics.h
@@ -117,7 +117,6 @@ public:
_ownsData = true;
}
M4Surface(int width_, int height_, byte *srcPixels, int pitch_) {
- bytesPerPixel = 1;
format = Graphics::PixelFormat::createFormatCLUT8();
w = width_;
h = height_;