aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/wintermute.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-05-09 18:04:02 +0200
committerEinar Johan Trøan Sømåen2012-06-02 12:42:09 +0200
commit9355850d0728df266b33446e58ab0f330d34321d (patch)
tree8ec38573642e041c02d251ab83f9cc4c55b10d70 /engines/wintermute/wintermute.cpp
parent21033f631f5895bb88779c1dd77b6d17466c6840 (diff)
downloadscummvm-rg350-9355850d0728df266b33446e58ab0f330d34321d.tar.gz
scummvm-rg350-9355850d0728df266b33446e58ab0f330d34321d.tar.bz2
scummvm-rg350-9355850d0728df266b33446e58ab0f330d34321d.zip
WINTERMUTE: Make the engine atleast draw something.
Diffstat (limited to 'engines/wintermute/wintermute.cpp')
-rw-r--r--engines/wintermute/wintermute.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp
index 6546dcadaf..298e4a97c6 100644
--- a/engines/wintermute/wintermute.cpp
+++ b/engines/wintermute/wintermute.cpp
@@ -71,7 +71,8 @@ namespace WinterMute {
Common::Error WinterMuteEngine::run() {
// Initialize graphics using following:
- initGraphics(640, 480, false);
+ Graphics::PixelFormat format(4, 8, 8, 8, 8, 24, 16, 8, 0);
+ initGraphics(640, 480, false, &format);
// You could use backend transactions directly as an alternative,
// but it isn't recommended, until you want to handle the error values