diff options
author | Johannes Schickel | 2011-04-17 17:30:44 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-17 20:58:08 +0200 |
commit | 3fd919060ca6bbf896680f3548bfaac020900d42 (patch) | |
tree | b8d96772e727cb8932c54987d296a4baf93fe087 /graphics/sjis.cpp | |
parent | 41586398abb45c6e0551da729471c4215299d131 (diff) | |
download | scummvm-rg350-3fd919060ca6bbf896680f3548bfaac020900d42.tar.gz scummvm-rg350-3fd919060ca6bbf896680f3548bfaac020900d42.tar.bz2 scummvm-rg350-3fd919060ca6bbf896680f3548bfaac020900d42.zip |
GRPAHICS: Do not access Surface::bytesPerPixel anymore.
Diffstat (limited to 'graphics/sjis.cpp')
-rw-r--r-- | graphics/sjis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/sjis.cpp b/graphics/sjis.cpp index c581f9b265..db8588c910 100644 --- a/graphics/sjis.cpp +++ b/graphics/sjis.cpp @@ -57,7 +57,7 @@ FontSJIS *FontSJIS::createFont(const Common::Platform platform) { } void FontSJIS::drawChar(Graphics::Surface &dst, uint16 ch, int x, int y, uint32 c1, uint32 c2) const { - drawChar(dst.getBasePtr(x, y), ch, dst.pitch, dst.bytesPerPixel, c1, c2, dst.w - x, dst.h - y); + drawChar(dst.getBasePtr(x, y), ch, dst.pitch, dst.format.bytesPerPixel, c1, c2, dst.w - x, dst.h - y); } template<typename Color> |