aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ps2
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-17 21:27:34 +0200
committerJohannes Schickel2011-04-17 21:27:34 +0200
commitda734a4af024a72ee155bc25d6e45f994de6b060 (patch)
treec2ca3d8215cc8b38834e1a42e9f788d4fabce32b /backends/platform/ps2
parent877004dbdd967d2f57d494b1aaa1cb55aae0fd52 (diff)
downloadscummvm-rg350-da734a4af024a72ee155bc25d6e45f994de6b060.tar.gz
scummvm-rg350-da734a4af024a72ee155bc25d6e45f994de6b060.tar.bz2
scummvm-rg350-da734a4af024a72ee155bc25d6e45f994de6b060.zip
ALL/GRAPHICS: Remove Surface::bytesPerPixel.
Diffstat (limited to 'backends/platform/ps2')
-rw-r--r--backends/platform/ps2/Gs2dScreen.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/backends/platform/ps2/Gs2dScreen.cpp b/backends/platform/ps2/Gs2dScreen.cpp
index 22dae94527..e43ea0f376 100644
--- a/backends/platform/ps2/Gs2dScreen.cpp
+++ b/backends/platform/ps2/Gs2dScreen.cpp
@@ -398,7 +398,6 @@ Graphics::Surface *Gs2dScreen::lockScreen() {
_framebuffer.w = _width;
_framebuffer.h = _height;
_framebuffer.pitch = _width; // -not- _pitch; ! It's EE mem, not Tex
- _framebuffer.bytesPerPixel = 1;
_framebuffer.format = Graphics::PixelFormat::createFormatCLUT8();
return &_framebuffer;