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/gui_br.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/gui_br.cpp')
-rw-r--r-- | engines/parallaction/gui_br.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/gui_br.cpp b/engines/parallaction/gui_br.cpp index c80a9940a2..db1c9d1676 100644 --- a/engines/parallaction/gui_br.cpp +++ b/engines/parallaction/gui_br.cpp @@ -483,7 +483,7 @@ public: _y = 90; Graphics::Surface *surf = new Graphics::Surface; - surf->create(w, 110, 1); + surf->create(w, 110, Graphics::PixelFormat::createFormatCLUT8()); surf->fillRect(Common::Rect(0, 0, w, 110), 12); surf->fillRect(Common::Rect(10, 10, w-10, 100), 15); |