[ scummvm-Bugs-1416862 ] new theme: changing overlay size

SourceForge.net noreply at sourceforge.net
Fri Jan 27 21:10:34 CET 2006


Bugs item #1416862, was opened at 2006-01-27 21:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1416862&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GUI
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Willem Jan Palenstijn (wjpalenstijn)
Assigned to: Nobody/Anonymous (nobody)
Summary: new theme: changing overlay size

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1416862&group_id=37116




More information about the Scummvm-tracker mailing list