diff options
author | Johannes Schickel | 2011-04-17 16:29:23 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-17 16:29:23 +0200 |
commit | b6fc71b0c5192aea09a240f84e4c380b52c1710b (patch) | |
tree | 457b08dc3dcaee509a6154a3b9b3579b3d4b228d /engines/made/pmvplayer.cpp | |
parent | 7b9b5681488f04a817d70812c18a8f1f88fbc931 (diff) | |
download | scummvm-rg350-b6fc71b0c5192aea09a240f84e4c380b52c1710b.tar.gz scummvm-rg350-b6fc71b0c5192aea09a240f84e4c380b52c1710b.tar.bz2 scummvm-rg350-b6fc71b0c5192aea09a240f84e4c380b52c1710b.zip |
MADE: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
Diffstat (limited to 'engines/made/pmvplayer.cpp')
-rw-r--r-- | engines/made/pmvplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/made/pmvplayer.cpp b/engines/made/pmvplayer.cpp index e37bd87a7e..5ab24c1984 100644 --- a/engines/made/pmvplayer.cpp +++ b/engines/made/pmvplayer.cpp @@ -169,7 +169,7 @@ bool PmvPlayer::play(const char *filename) { if (!_surface) { _surface = new Graphics::Surface(); - _surface->create(width, height, 1); + _surface->create(width, height, Graphics::PixelFormat::createFormatCLUT8()); } decompressMovieImage(imageData, *_surface, cmdOffs, pixelOffs, maskOffs, lineSize); |