TINSEL: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.

This commit is contained in:
Johannes Schickel 2011-04-17 16:33:50 +02:00
parent 26121bba14
commit 933c4f93f5

View File

@ -911,10 +911,10 @@ Common::Error TinselEngine::run() {
#else
initGraphics(640, 432, true);
#endif
_screenSurface.create(640, 432, 1);
_screenSurface.create(640, 432, Graphics::PixelFormat::createFormatCLUT8());
} else {
initGraphics(320, 200, false);
_screenSurface.create(320, 200, 1);
_screenSurface.create(320, 200, Graphics::PixelFormat::createFormatCLUT8());
}
g_eventRec.registerRandomSource(_random, "tinsel");