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/inventory.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/inventory.cpp')
-rw-r--r-- | engines/parallaction/inventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/inventory.cpp b/engines/parallaction/inventory.cpp index 5ead55bbef..6ceca27a4f 100644 --- a/engines/parallaction/inventory.cpp +++ b/engines/parallaction/inventory.cpp @@ -141,7 +141,7 @@ void Parallaction::closeInventory() { InventoryRenderer::InventoryRenderer(Parallaction *vm, InventoryProperties *props, Inventory *inv) : _vm(vm), _props(props), _inv(inv) { - _surf.create(_props->_width, _props->_height, 1); + _surf.create(_props->_width, _props->_height, Graphics::PixelFormat::createFormatCLUT8()); } InventoryRenderer::~InventoryRenderer() { |