GRAPHICS: OPENGL(3D): Switching screen modes erases game graphics, or may crash app.
|Reported by:||macca8||Owned by:||bluegr|
Description (last modified by )
When playing a game that uses 3D OpenGL (in my case, Myst3), pressing Alt+Enter erases the game graphics when the screen mode changes. Further switches fail to restore the graphics, requiring the user to exit the game, either by returning to the Launcher or quitting.
Fortunately, the user can save their progress before exiting by accessing ScummVM’s Save dialog. Not surprisingly, this save features a blank thumbnail image, but is fully functional when reloaded after shutting down the game engine.
Note that only the game’s graphics are erased, any sound continues as normal, and the GMM remains accessible (see attached screenshot).
Switches in 2D games, or the Launcher, that use standard OpenGL or other graphics modes are not affected by this issue.
This first appeared in daily build 2.3.0git15408-g9818b47554 (Apr 18 2021), and is likely a regression from https://github.com/scummvm/scummvm/commit/d33487f641bcd6e9e4d31a0bf91f7abf2f92c2e0 - SDL: Refactor OpenGLSdlGraphics3dManager to inherit from SdlGraphicsManager - which was committed in that build.
Tested on an Intel Mac running macOS 10.11.6, with a LoDPI screen (max 1920x1080).
Truth be known, this is likely the same bug as reported in #12473, however since I’m seeing a totally blank (white) screen, these observations may contribute to a more complete overview of the issue.
Edit: See also comments 5 & 6 below for a variation of this behaviour applicable to using OpenGL with shaders (with Myst3).
Change History (10)
comment:7 by , 2 years ago
|Summary:||GRAPHICS: OPENGL(3D): Switching screen modes erases game graphics. → GRAPHICS: OPENGL(3D): Switching screen modes erases game graphics, or may crash app.|