#486 closed defect (fixed)
GUI disappear
Reported by: | SF/osaukko | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | GUI |
Version: | Keywords: | ||
Cc: | Game: |
Description
ScummVM 0.2.2 CVS (Win32 version) Built on Oct 10 2002 11:51:02
Changing filter or fullscreen in game menu (GUI) makes it disappear. This also happens in startup menu (game list).
Ticket imported from: #621244. Ticket imported from: bugs/486.
Change History (3)
comment:1 by , 22 years ago
comment:2 by , 22 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 by , 6 years ago
Component: | --Unset-- → GUI |
---|
Note:
See TracTickets
for help on using tickets.
To correct this, OSystem_SDL_Normal::hotswap_gfx_mode() must be adjusted to also backup & restore the overlay data if any.
This is complicated by the fact that the old sdl_tmpscreen might be in 555 mode while the new one is in 565 mode - so simply doing a memcpy won't work.
Idea: optimize hotswap_gfx_mode to not just call unload_gfx_mode() and load_gfx_mode(). Rather, be more clever, and keep the old sdl_tmpscreen around for a while, so that we can use SDL to blit from it to the (equally sized) new tmpscreen. SDL should then perform any conversion that are needed.