Codechange: Replicate cursor screen backup to chat message display, removing explicit memory management.

Incidentally, this makes Blitter::GetBytesPerPixel unneeed.
This commit is contained in:
Michael Lutz
2023-11-04 15:20:21 +01:00
parent bbd64bbe2b
commit 071fdab236
7 changed files with 4 additions and 16 deletions

View File

@@ -30,7 +30,6 @@ public:
size_t BufferSize(uint width, uint height) override;
void PaletteAnimate(const Palette &palette) override;
Blitter::PaletteAnimation UsePaletteAnimation() override;
int GetBytesPerPixel() override { return 4; }
/**
* Look up the colour in the current palette.