aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/msvideo1.h
diff options
context:
space:
mode:
Diffstat (limited to 'image/codecs/msvideo1.h')
-rw-r--r--image/codecs/msvideo1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/image/codecs/msvideo1.h b/image/codecs/msvideo1.h
index a28cc4d10a..f52b1f3127 100644
--- a/image/codecs/msvideo1.h
+++ b/image/codecs/msvideo1.h
@@ -38,7 +38,7 @@ public:
~MSVideo1Decoder();
const Graphics::Surface *decodeFrame(Common::SeekableReadStream &stream);
- Graphics::PixelFormat getPixelFormat() const { return Graphics::PixelFormat::createFormatCLUT8(); }
+ Graphics::PixelFormat getPixelFormat() const { return _surface->format; }
private:
byte _bitsPerPixel;