From 537280c35a8a41f962a66a759499b8946ebfb164 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Sun, 1 Sep 2019 17:14:18 +0100 Subject: STARTREK: Simplify call to initGraphics() --- engines/startrek/startrek.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/startrek') diff --git a/engines/startrek/startrek.cpp b/engines/startrek/startrek.cpp index d22c6100c3..d1d5fa5111 100644 --- a/engines/startrek/startrek.cpp +++ b/engines/startrek/startrek.cpp @@ -128,8 +128,7 @@ Common::Error StarTrekEngine::run() { assert(_macResFork->hasDataFork() && _macResFork->hasResFork()); } - const ::Graphics::PixelFormat format = ::Graphics::PixelFormat::createFormatCLUT8(); - initGraphics(SCREEN_WIDTH, SCREEN_HEIGHT, &format); + initGraphics(SCREEN_WIDTH, SCREEN_HEIGHT); initializeEventsAndMouse(); bool shouldPlayIntro = true; -- cgit v1.2.3