#2474 closed defect (fixed)
new theme: changing overlay size
Reported by: | wjp | Owned by: | lordhoto |
---|---|---|---|
Priority: | normal | Component: | GUI |
Version: | Keywords: | ||
Cc: | Game: |
Description
When starting COMI from the standard 640x400 launcher, the overlayheight changes from 400 to 480. A corresponding SCREEN_CHANGED event is sent for this to the scumm engine.
However, the _screen surface in ThemeNew is still at the 640x400 size at this point. The newgui event handler does check for SCREEN_CHANGED events (and recreates the _screen surface if it gets one), but that event handler isn't active for this particular screen change.
This causes a segfault as soon as F5 is pressed, since it tries to copy a 640x480 overlay into a 640x400 surface.
Ticket imported from: #1416862. Ticket imported from: bugs/2474.
Change History (5)
comment:1 by , 19 years ago
Owner: | set to |
---|
comment:2 by , 19 years ago
comment:3 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 6 years ago
Component: | → GUI |
---|
Ok I made a fix for that it should work now please try it out and tell me if it's ok.