aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lastexpress/data/animation.cpp2
-rw-r--r--engines/lastexpress/graphics.cpp2
2 files changed, 2 insertions, 2 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);
diff --git a/engines/lastexpress/graphics.cpp b/engines/lastexpress/graphics.cpp
index b627796e25..6c862ebc1e 100644
--- a/engines/lastexpress/graphics.cpp
+++ b/engines/lastexpress/graphics.cpp
@@ -32,7 +32,7 @@ namespace LastExpress {
#define COLOR_KEY 0xFFFF
GraphicsManager::GraphicsManager() : _changed(false) {
- const Graphics::PixelFormat format = g_system->getScreenFormat();
+ const Graphics::PixelFormat format(2, 5, 5, 5, 0, 10, 5, 0, 0);
_screen.create(640, 480, format);
// Create the game surfaces