diff options
author | Paul Gilbert | 2012-05-05 22:45:57 +1000 |
---|---|---|
committer | Paul Gilbert | 2012-05-05 22:45:57 +1000 |
commit | 162cc47c71767b264f157e3ebf9d61eea1f6bd97 (patch) | |
tree | c2baf0458aeb8f5acd1f284adfc79fdb3fae3d37 | |
parent | 4fc57f13491781893edf4b4aa6e477b0e0fc02b8 (diff) | |
download | scummvm-rg350-162cc47c71767b264f157e3ebf9d61eea1f6bd97.tar.gz scummvm-rg350-162cc47c71767b264f157e3ebf9d61eea1f6bd97.tar.bz2 scummvm-rg350-162cc47c71767b264f157e3ebf9d61eea1f6bd97.zip |
TONY: Fix screen initialisation to be in 16-bit mode
-rw-r--r-- | engines/tony/window.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tony/window.cpp b/engines/tony/window.cpp index 8e23ec8aa5..d5c9925111 100644 --- a/engines/tony/window.cpp +++ b/engines/tony/window.cpp @@ -72,7 +72,8 @@ RMWindow::~RMWindow() { * Initialises the graphics window */ void RMWindow::Init() { - initGraphics(RM_SX, RM_SY, false); + Graphics::PixelFormat pixelFormat(2, 5, 5, 5, 0, 10, 5, 0, 0); + initGraphics(RM_SX, RM_SY, false, &pixelFormat); // Inizializza i conteggi degli FPS fps = lastfcount = fcount = lastsecond = 0; |