aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds
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/ds
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/ds')
-rw-r--r--backends/platform/ds/arm9/source/osystem_ds.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/platform/ds/arm9/source/osystem_ds.cpp b/backends/platform/ds/arm9/source/osystem_ds.cpp
index b22bc437b0..49818a0034 100644
--- a/backends/platform/ds/arm9/source/osystem_ds.cpp
+++ b/backends/platform/ds/arm9/source/osystem_ds.cpp
@@ -756,7 +756,6 @@ Graphics::Surface *OSystem_DS::createTempFrameBuffer() {
_framebuffer.w = DS::getGameWidth();
_framebuffer.h = DS::getGameHeight();
_framebuffer.pitch = DS::getGameWidth();
- _framebuffer.bytesPerPixel = 1;
_framebuffer.format = Graphics::PixelFormat::createFormatCLUT8();
} else {
@@ -782,7 +781,6 @@ Graphics::Surface *OSystem_DS::createTempFrameBuffer() {
_framebuffer.w = width;
_framebuffer.h = height;
_framebuffer.pitch = width;
- _framebuffer.bytesPerPixel = 1;
_framebuffer.format = Graphics::PixelFormat::createFormatCLUT8();
}