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 |
||
---|---|---|
.. | ||
sdl-graphics.cpp | ||
sdl-graphics.h |