mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-16 21:50:21 +00:00

When switching between the SDL and OpenGL graphics managers, trying to restore the state could fail as the two managers do not have the same list of supported formats, so we may not be able to transfer the pixel format from one to the other. This then resulted in an assert. This fixes bug #12079