aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dc
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/dc
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/dc')
-rw-r--r--backends/platform/dc/display.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/dc/display.cpp b/backends/platform/dc/display.cpp
index b297022775..78fa2182dc 100644
--- a/backends/platform/dc/display.cpp
+++ b/backends/platform/dc/display.cpp
@@ -720,7 +720,7 @@ Graphics::Surface *OSystem_Dreamcast::lockScreen()
_framebuffer.w = _screen_w;
_framebuffer.h = _screen_h;
_framebuffer.pitch = SCREEN_W*2;
- _framebuffer.bytesPerPixel = (_screenFormat == 0? 1 : 2);
+ _framebuffer.format = screenFormats[_screenFormat];
return &_framebuffer;
}