diff options
author | Einar Johan Trøan Sømåen | 2012-05-12 06:56:00 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 13:02:19 +0200 |
commit | 7c8785d846bc9c813f37f610ed72f210cceba3b1 (patch) | |
tree | 07e2e1eee96688ee643e1587f2d60b09c0159278 /engines/wintermute | |
parent | 11aadc56902ae97d6aa2467a94a041623b3c599d (diff) | |
download | scummvm-rg350-7c8785d846bc9c813f37f610ed72f210cceba3b1.tar.gz scummvm-rg350-7c8785d846bc9c813f37f610ed72f210cceba3b1.tar.bz2 scummvm-rg350-7c8785d846bc9c813f37f610ed72f210cceba3b1.zip |
WINTERMUTE: Require 32bpp for now.
Diffstat (limited to 'engines/wintermute')
-rw-r--r-- | engines/wintermute/wintermute.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp index e83261225f..e756f568c6 100644 --- a/engines/wintermute/wintermute.cpp +++ b/engines/wintermute/wintermute.cpp @@ -73,7 +73,9 @@ Common::Error WinterMuteEngine::run() { // Initialize graphics using following: Graphics::PixelFormat format(4, 8, 8, 8, 8, 24, 16, 8, 0); initGraphics(800, 600, false, &format); - + if (g_system->getScreenFormat() != format) { + error("Wintermute currently REQUIRES 32bpp"); + } // You could use backend transactions directly as an alternative, // but it isn't recommended, until you want to handle the error values // from OSystem::endGFXTransaction yourself. |