diff options
author | Johannes Schickel | 2011-04-17 22:17:09 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-17 22:17:09 +0200 |
commit | 14d496400111a52ecd31b559131f5743ded10689 (patch) | |
tree | 53ba606e1595a97f361b4d2bc5536d6090a691b6 /engines/lastexpress/data/animation.cpp | |
parent | 79ed190523656966b39f28720fe83afc045040b5 (diff) | |
download | scummvm-rg350-14d496400111a52ecd31b559131f5743ded10689.tar.gz scummvm-rg350-14d496400111a52ecd31b559131f5743ded10689.tar.bz2 scummvm-rg350-14d496400111a52ecd31b559131f5743ded10689.zip |
LASTEXPRESS: Use RGB555 PixelFormat for surfaces instead of screen format.
This makes the code a bit more readable, thanks to fuzzie for pointing that
out.
Diffstat (limited to 'engines/lastexpress/data/animation.cpp')
-rw-r--r-- | engines/lastexpress/data/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/data/animation.cpp b/engines/lastexpress/data/animation.cpp index ed0a5a67e1..11e4b4d290 100644 --- a/engines/lastexpress/data/animation.cpp +++ b/engines/lastexpress/data/animation.cpp @@ -266,7 +266,7 @@ void Animation::play() { if (_changed) { // Create a temporary surface to merge the overlay with the background Graphics::Surface *s = new Graphics::Surface; - s->create(640, 480, g_system->getScreenFormat()); + s->create(640, 480, Graphics::PixelFormat(2, 5, 5, 5, 0, 10, 5, 0, 0)); draw(s); |