aboutsummaryrefslogtreecommitdiff
path: root/graphics/decoders/png.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/decoders/png.h')
-rw-r--r--graphics/decoders/png.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/decoders/png.h b/graphics/decoders/png.h
index 1da0bea1ab..ca204f6dd3 100644
--- a/graphics/decoders/png.h
+++ b/graphics/decoders/png.h
@@ -73,6 +73,7 @@ public:
void destroy();
const Graphics::Surface *getSurface() const { return _outputSurface; }
const byte *getPalette() const { return _palette; }
+ uint16 getPaletteColorCount() const { return _paletteEntries; }
private:
enum PNGColorType {