mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-05 00:01:55 +00:00
GRAPHICS: Fix BMP getPalette function definition.
The BMP decoder getPalette function definition is now identical to the other image format decoders subclassed from ImageDecoder. This also fixes a overloaded virtual warning reported by salty-horse.
This commit is contained in:
parent
b7a5573dda
commit
4d6f2875de
@ -51,7 +51,7 @@ public:
|
||||
void destroy();
|
||||
virtual bool loadStream(Common::SeekableReadStream &stream);
|
||||
virtual const Surface *getSurface() const { return _surface; }
|
||||
virtual const byte *getPalette() { return _palette; }
|
||||
const byte *getPalette() const { return _palette; }
|
||||
|
||||
private:
|
||||
Surface *_surface;
|
||||
|
Loading…
x
Reference in New Issue
Block a user