[ scummvm-Patches-2784961 ] Enforce aspect ratio in fullscreen SDL

SourceForge.net noreply at sourceforge.net
Fri May 1 13:31:36 CEST 2009


Patches item #2784961, was opened at 2009-05-01 11:31
Message generated for change (Tracker Item Submitted) made by tramboi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2784961&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: None
Group: None
Status: Open
Resolution: None
Priority: 1
Private: No
Submitted By: Bertrand Augereau (tramboi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Enforce aspect ratio in fullscreen SDL

Initial Comment:
This patch adds a new "desired_aspect_ratio" option, which can be set to "auto"(default), "4/3", "16/9" and "16/10".
When not "auto", a switch to fullscreen in the SDL backend chooses the tightest resolution available that respects the ratio, if possible.
The rendering takes place in the upper left corner, without stretching (but the software scaling is taken into account).
A next version will render the surface centered, but it was "riskier", so I chose to submit this intermediate version!



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

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




More information about the Scummvm-tracker mailing list