diff options
author | Matthew Hoops | 2011-02-20 00:43:18 -0500 |
---|---|---|
committer | Matthew Hoops | 2011-02-20 00:43:18 -0500 |
commit | 098581b3b5ec22f2e50075414f74f378ad24c2ae (patch) | |
tree | 57a97ce4bc7e570fba138f301402caf442ff192d /graphics/pict.h | |
parent | f8df58f9578fbacaea0910435e42c096c20226c7 (diff) | |
download | scummvm-rg350-098581b3b5ec22f2e50075414f74f378ad24c2ae.tar.gz scummvm-rg350-098581b3b5ec22f2e50075414f74f378ad24c2ae.tar.bz2 scummvm-rg350-098581b3b5ec22f2e50075414f74f378ad24c2ae.zip |
GRAPHICS: Use the DirectBits size instead of the overall PICT dimensions
Fixes some Myst ME images
Diffstat (limited to 'graphics/pict.h')
-rw-r--r-- | graphics/pict.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/pict.h b/graphics/pict.h index a9ea170292..e4bde8a466 100644 --- a/graphics/pict.h +++ b/graphics/pict.h @@ -74,7 +74,7 @@ private: bool _isPaletted; Graphics::Surface *_outputSurface; - void decodeDirectBitsRect(Common::SeekableReadStream *stream, uint16 width, uint16 height, bool hasPalette); + void decodeDirectBitsRect(Common::SeekableReadStream *stream, bool hasPalette); void decodeDirectBitsLine(byte *out, uint32 length, Common::SeekableReadStream *data, byte bitsPerPixel, byte bytesPerPixel); void decodeCompressedQuickTime(Common::SeekableReadStream *stream); void outputPixelBuffer(byte *&out, byte value, byte bitsPerPixel); |