PLUMBERS: Fix graphics initialization for Windows version

This commit is contained in:
Eugene Sandulenko 2024-03-15 23:29:31 +01:00
parent c5ab90d6e7
commit d679efc4f8
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -64,9 +64,9 @@ void PlumbersGameWindows::startGraphics() {
Graphics::ModeWithFormatList modes = {
// First try for a 640x480 mode
Graphics::ModeWithFormat(640, 480),
Graphics::ModeWithFormat(640, 480, Graphics::PixelFormat::createFormatCLUT8()),
// System doesn't support it, so fall back on 320x240 mode
Graphics::ModeWithFormat(320, 240),
Graphics::ModeWithFormat(320, 240, Graphics::PixelFormat::createFormatCLUT8()),
};
int modeIdx = initGraphicsAny(modes);