aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/gui_br.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-17 16:30:12 +0200
committerJohannes Schickel2011-04-17 16:30:12 +0200
commit9734c7be641ac5cd28a336e4d3685f4022a85c26 (patch)
treedb2802af1637e3af48eb9fd1bdbb5645f22b69ba /engines/parallaction/gui_br.cpp
parentfedd4d7809f3ef7f9ec446c62bbbf681a87c578e (diff)
downloadscummvm-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.cpp2
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);