aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-17 16:30:59 +0200
committerJohannes Schickel2011-04-17 16:30:59 +0200
commit9d7f7fc4b625918340ad3a081e44526a583e0ee0 (patch)
treeae7b1dd7821bed9fae91264da6b915ce4c60ef47 /engines/scumm
parent5af4b64c29e5b22bf7a63e335344f11e16481f78 (diff)
downloadscummvm-rg350-9d7f7fc4b625918340ad3a081e44526a583e0ee0.tar.gz
scummvm-rg350-9d7f7fc4b625918340ad3a081e44526a583e0ee0.tar.bz2
scummvm-rg350-9d7f7fc4b625918340ad3a081e44526a583e0ee0.zip
SCUMM: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/scumm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 5aea36ef66..33343aef81 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -1222,7 +1222,7 @@ void ScummEngine::setupScumm() {
setupCharsetRenderer();
// Create and clear the text surface
- _textSurface.create(_screenWidth * _textSurfaceMultiplier, _screenHeight * _textSurfaceMultiplier, 1);
+ _textSurface.create(_screenWidth * _textSurfaceMultiplier, _screenHeight * _textSurfaceMultiplier, Graphics::PixelFormat::createFormatCLUT8());
clearTextSurface();
// Create the costume renderer