scummvm/backends/graphics/sdl
Thierry Crozat 23ca3604b8 SDL: Fix crash when switching to a 3D graphics manager
The OpenGLSdlGraphics3dManager::getSupportedFormats() implementation
returns an empty list. This caused a crash when trying to get the
first element of the list in SdlGraphicsManager::setState().

This fixes bug #12762: The longest Journey crashes
2021-07-26 23:18:17 +01:00
..
sdl-graphics.cpp SDL: Fix crash when switching to a 3D graphics manager 2021-07-26 23:18:17 +01:00
sdl-graphics.h SDL: Use the window display index when querying display modes 2021-05-01 11:22:22 +03:00