diff options
author | Johannes Schickel | 2011-04-17 16:33:38 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-17 16:33:38 +0200 |
commit | 26121bba144e3721c27d347b33c9c7207a7f3424 (patch) | |
tree | f5c180424d857099f9f34b179aeac1cd41cb6dc9 /engines/teenagent/scene.cpp | |
parent | b3f0eb8a9db27d3b0659eeb7ce53c69849342439 (diff) | |
download | scummvm-rg350-26121bba144e3721c27d347b33c9c7207a7f3424.tar.gz scummvm-rg350-26121bba144e3721c27d347b33c9c7207a7f3424.tar.bz2 scummvm-rg350-26121bba144e3721c27d347b33c9c7207a7f3424.zip |
TEENAGENT: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
Diffstat (limited to 'engines/teenagent/scene.cpp')
-rw-r--r-- | engines/teenagent/scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index f9756b5b91..6910cbf92f 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -379,7 +379,7 @@ void Scene::init(int id, const Common::Point &pos) { custom_animation[i].free(); if (background.pixels == NULL) - background.create(320, 200, 1); + background.create(320, 200, Graphics::PixelFormat::createFormatCLUT8()); warp(pos); |