ALL:Screen not redrawing in 32 bit colour mode under Windows
|Reported by:||SF/captainwibble||Owned by:||Kirben|
I've noticed a couple of posts on the forum complaining about "hangs". I've seen the problem on my work's machine (Windows 2000, Intel 82845G/DL/GE/PE/CV graphics controller) running ScummVM in a window. It is not a hang, just a redraw problem.
If my display is set to 32 bit, then the screen doesn't redraw at all. A redraw can be forced by holding down shift and escape (bringing up the start menu continuously and forcing a redraw). Clicking anywhere on the game menu selection screen causes ScummVM to exit immediately. If it is manually configured via the .INI file, the games can be started via the keyboard and are playable (provided that you keep holding down shift and escape). Everything works fine in 16 bit colour mode.
I've done some minimal debugging on this, however I have found nothing conclusive. loadGFXMode calls SDL_SetVideoMode to request a 16 bit graphics mode. SDL_SetVideoMode reports that a 32 bit colour mode was available. Something somewhere isn't dropping the colour depth down. The redraw loop runs OK and the directX blit within SDL doesn't return an error. The update rectangles look reasonable.
Ticket imported from: #1323727. Ticket imported from: bugs/2240.
Change History (5)
comment:2 by , 16 years ago
|Summary:||Screen not redrawing in 32 bit colour mode under Windows → ALL:Screen not redrawing in 32 bit colour mode under Windows|