From 9355850d0728df266b33446e58ab0f330d34321d Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Wed, 9 May 2012 18:04:02 +0200 Subject: WINTERMUTE: Make the engine atleast draw something. --- engines/wintermute/wintermute.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/wintermute/wintermute.cpp') 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 -- cgit v1.2.3