aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
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;