From 4d6f2875de900ea41663b99be0f148096561bf5d Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 22 Apr 2012 16:41:30 +0100 Subject: 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. --- graphics/decoders/bmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/decoders') diff --git a/graphics/decoders/bmp.h b/graphics/decoders/bmp.h index 6360aa81c9..8a37538ee1 100644 --- a/graphics/decoders/bmp.h +++ b/graphics/decoders/bmp.h @@ -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; -- cgit v1.2.3