aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-05-05 22:45:57 +1000
committerPaul Gilbert2012-05-05 22:45:57 +1000
commit162cc47c71767b264f157e3ebf9d61eea1f6bd97 (patch)
treec2baf0458aeb8f5acd1f284adfc79fdb3fae3d37
parent4fc57f13491781893edf4b4aa6e477b0e0fc02b8 (diff)
downloadscummvm-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.cpp3
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;