Thierry Crozat 5412533dec SDL: Fix trying to set unsupported pixel format when changing gfx mode
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
2021-02-08 12:59:52 +00:00
..
2015-04-19 07:43:34 +02:00
2020-10-14 17:48:29 +01:00
2021-02-04 01:59:14 +01:00