diff -r 329dcdbf283a -r e6abeb1fc804 src/blitter/base.hpp --- a/src/blitter/base.hpp Fri Aug 15 19:18:55 2008 +0000 +++ b/src/blitter/base.hpp Fri Aug 15 22:06:58 2008 +0000 @@ -183,10 +183,15 @@ virtual Blitter::PaletteAnimation UsePaletteAnimation() = 0; /** - * Get the naem of the blitter, the same as the Factory-instance returns. + * Get the name of the blitter, the same as the Factory-instance returns. */ virtual const char *GetName() = 0; + /** + * Get how many bytes are needed to store a pixel. + */ + virtual int GetBytesPerPixel() = 0; + virtual ~Blitter() { } };