We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4635

Summary: [PATCH] riscos: Ensure the window size is consistant at different DPIs
Product: SDL Reporter: Cameron Cawley <ccawley2011>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus, me
Version: HG 1.2Keywords: target-2.0.10
Hardware: ARM   
OS: RISC OS   
Bug Depends on: 4454    
Bug Blocks: 4651, 4654    
Attachments: riscos: Ensure the window size is consistant at different DPIs
riscos: Ensure the window size is consistent at different DPIs

Description Cameron Cawley 2019-05-19 11:42:28 UTC
Created attachment 3784 [details]
riscos: Ensure the window size is consistant at different DPIs

Previously, when using a screen DPI other than 90x90, the sprite would always be plotted 1:1 and the window size would be changed to always fit the sprite. This changes that so that instead, the window size is consistent regardless of DPI, and the sprite is scaled to fit the window.
Comment 1 Jeffrey Lee 2019-06-01 20:42:15 UTC
Created attachment 3807 [details]
riscos: Ensure the window size is consistent at different DPIs

Updated patch which will apply cleanly ontop of https://bugzilla.libsdl.org/show_bug.cgi?id=4454
Comment 2 Sam Lantinga 2019-06-08 20:21:16 UTC
Patch added!
https://hg.libsdl.org/SDL/rev/600cbd188a36