[Scummvm-git-logs] scummvm master -> 537280c35a8a41f962a66a759499b8946ebfb164
ccawley2011
ccawley2011 at gmail.com
Sun Sep 1 18:14:20 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
537280c35a STARTREK: Simplify call to initGraphics()
Commit: 537280c35a8a41f962a66a759499b8946ebfb164
https://github.com/scummvm/scummvm/commit/537280c35a8a41f962a66a759499b8946ebfb164
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2019-09-01T17:14:18+01:00
Commit Message:
STARTREK: Simplify call to initGraphics()
Changed paths:
engines/startrek/startrek.cpp
diff --git a/engines/startrek/startrek.cpp b/engines/startrek/startrek.cpp
index d22c610..d1d5fa5 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;
More information about the Scummvm-git-logs
mailing list