diff options
author | truebrain <truebrain@openttd.org> | 2012-01-03 10:50:06 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2012-01-03 10:50:06 +0000 |
commit | 2aa6086256bbdbcad6dff7d32464c8f1f4cc9393 (patch) | |
tree | b6a39257a2c418ddab6fb33e1071193a9a69bfce /src | |
parent | 9a05d03e2cdf4d688954c9e9d36ce465ddc81cee (diff) | |
download | openttd-2aa6086256bbdbcad6dff7d32464c8f1f4cc9393.tar.xz |
(svn r23729) -Fix (r23670) [FS#4941]: if you increase the buffer size, also increase the bytes per pixel
Diffstat (limited to 'src')
-rw-r--r-- | src/blitter/32bpp_anim.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/32bpp_anim.hpp b/src/blitter/32bpp_anim.hpp index 73cabb90d..43e074ce5 100644 --- a/src/blitter/32bpp_anim.hpp +++ b/src/blitter/32bpp_anim.hpp @@ -41,7 +41,7 @@ public: /* virtual */ Blitter::PaletteAnimation UsePaletteAnimation(); /* virtual */ const char *GetName() { return "32bpp-anim"; } - /* virtual */ int GetBytesPerPixel() { return 5; } + /* virtual */ int GetBytesPerPixel() { return 6; } /* virtual */ void PostResize(); /** |