diff options
author | Johannes Schickel | 2011-04-17 21:27:34 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-17 21:27:34 +0200 |
commit | da734a4af024a72ee155bc25d6e45f994de6b060 (patch) | |
tree | c2ca3d8215cc8b38834e1a42e9f788d4fabce32b /backends/platform/dc | |
parent | 877004dbdd967d2f57d494b1aaa1cb55aae0fd52 (diff) | |
download | scummvm-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.cpp | 2 |
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; } |