diff options
author | Johannes Schickel | 2011-04-17 16:30:12 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-17 16:30:12 +0200 |
commit | 9734c7be641ac5cd28a336e4d3685f4022a85c26 (patch) | |
tree | db2802af1637e3af48eb9fd1bdbb5645f22b69ba /engines/parallaction/disk.cpp | |
parent | fedd4d7809f3ef7f9ec446c62bbbf681a87c578e (diff) | |
download | scummvm-rg350-9734c7be641ac5cd28a336e4d3685f4022a85c26.tar.gz scummvm-rg350-9734c7be641ac5cd28a336e4d3685f4022a85c26.tar.bz2 scummvm-rg350-9734c7be641ac5cd28a336e4d3685f4022a85c26.zip |
PARALLACTION: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
Diffstat (limited to 'engines/parallaction/disk.cpp')
-rw-r--r-- | engines/parallaction/disk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/disk.cpp b/engines/parallaction/disk.cpp index 6928c1eefc..98c581ca8b 100644 --- a/engines/parallaction/disk.cpp +++ b/engines/parallaction/disk.cpp @@ -36,7 +36,7 @@ void ILBMLoader::setupBuffer(uint32 w, uint32 h) { _surf = new Graphics::Surface; assert(_surf); } - _surf->create(w, h, 1); + _surf->create(w, h, Graphics::PixelFormat::createFormatCLUT8()); _mode = Graphics::ILBMDecoder::ILBM_UNPACK_PLANES; _intBuffer = (byte*)_surf->pixels; break; |