diff options
author | glx <glx@openttd.org> | 2008-08-15 22:06:58 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-08-15 22:06:58 +0000 |
commit | c10691faffc9d08b6342b18c3be6f27e659fb43e (patch) | |
tree | eaf62e145b2293b076052608efe28f50ee6f32d7 /src/blitter/8bpp_base.hpp | |
parent | 7672cd43d5c53a97ede3c9bc434ebca28f84bb23 (diff) | |
download | openttd-c10691faffc9d08b6342b18c3be6f27e659fb43e.tar.xz |
(svn r14080) -Fix (r14052): assert triggered when drawing chat window with 32bpp-anim blitter (backup buffer was too small)
Diffstat (limited to 'src/blitter/8bpp_base.hpp')
-rw-r--r-- | src/blitter/8bpp_base.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blitter/8bpp_base.hpp b/src/blitter/8bpp_base.hpp index eecd6e139..df0f51513 100644 --- a/src/blitter/8bpp_base.hpp +++ b/src/blitter/8bpp_base.hpp @@ -25,6 +25,7 @@ public: /* virtual */ int BufferSize(int width, int height); /* virtual */ void PaletteAnimate(uint start, uint count); /* virtual */ Blitter::PaletteAnimation UsePaletteAnimation(); + /* virtual */ int GetBytesPerPixel() { return 1; } }; #endif /* BLITTER_8BPP_BASE_HPP */ |