aboutsummaryrefslogtreecommitdiff
path: root/image/png.h
diff options
context:
space:
mode:
Diffstat (limited to 'image/png.h')
-rw-r--r--image/png.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/image/png.h b/image/png.h
index cdc3e3faf1..adbc6d7a68 100644
--- a/image/png.h
+++ b/image/png.h
@@ -33,6 +33,7 @@
#include "common/scummsys.h"
#include "common/textconsole.h"
+#include "graphics/pixelformat.h"
#include "image/image_decoder.h"
namespace Common {
@@ -57,7 +58,10 @@ public:
const byte *getPalette() const { return _palette; }
uint16 getPaletteColorCount() const { return _paletteColorCount; }
void setSkipSignature(bool skip) { _skipSignature = skip; }
+
private:
+ Graphics::PixelFormat getByteOrderRgbaPixelFormat() const;
+
byte *_palette;
uint16 _paletteColorCount;