mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-30 05:34:00 +00:00
TINSEL: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
This commit is contained in:
parent
26121bba14
commit
933c4f93f5
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user