aboutsummaryrefslogtreecommitdiff
path: root/engines/startrek
diff options
context:
space:
mode:
authorCameron Cawley2019-09-01 17:14:18 +0100
committerGitHub2019-09-01 17:14:18 +0100
commit537280c35a8a41f962a66a759499b8946ebfb164 (patch)
tree5d6c8bb368a866351fd9cd1556f856978587b6c0 /engines/startrek
parentfd7fd3a18b7310aef8203ef5be2b37a9fc3eaed7 (diff)
downloadscummvm-rg350-537280c35a8a41f962a66a759499b8946ebfb164.tar.gz
scummvm-rg350-537280c35a8a41f962a66a759499b8946ebfb164.tar.bz2
scummvm-rg350-537280c35a8a41f962a66a759499b8946ebfb164.zip
STARTREK: Simplify call to initGraphics()
Diffstat (limited to 'engines/startrek')
-rw-r--r--engines/startrek/startrek.cpp3
1 files changed, 1 insertions, 2 deletions
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;