diff options
author | Florian Kagerer | 2010-11-05 01:11:05 +0000 |
---|---|---|
committer | Florian Kagerer | 2010-11-05 01:11:05 +0000 |
commit | 4457d10f8465ec93d2761168a850cfe2574d6d5c (patch) | |
tree | 474b22aa9a7a5ed988b05ff8cf7a4c562e0e9a33 /graphics/sjis.h | |
parent | 206971d16b56ff37a6a81ff85a1b488fdc60c627 (diff) | |
download | scummvm-rg350-4457d10f8465ec93d2761168a850cfe2574d6d5c.tar.gz scummvm-rg350-4457d10f8465ec93d2761168a850cfe2574d6d5c.tar.bz2 scummvm-rg350-4457d10f8465ec93d2761168a850cfe2574d6d5c.zip |
GRAPHICS/SJIS: fix out of bounds shadow mode text drawing
svn-id: r54080
Diffstat (limited to 'graphics/sjis.h')
-rw-r--r-- | graphics/sjis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/sjis.h b/graphics/sjis.h index 3ba07230da..6ac2033a48 100644 --- a/graphics/sjis.h +++ b/graphics/sjis.h @@ -155,7 +155,7 @@ public: void drawChar(void *dst, uint16 ch, int pitch, int bpp, uint32 c1, uint32 c2, int maxW = -1, int maxH = -1) const; private: template<typename Color> - void blitCharacter(const uint8 *glyph, const int w, const int h, uint8 *dst, int pitch, Color c1, Color c2 = 0) const; + void blitCharacter(const uint8 *glyph, const int w, const int h, uint8 *dst, int pitch, Color c1, Color c2 = 0, bool clipShadowRight = false, bool clipShadowBottom = false) const; void createOutline(uint8 *outline, const uint8 *glyph, const int w, const int h) const; #ifndef DISABLE_FLIPPED_MODE |