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 - [PATCH] riscos: Ensure the window size is consistant at different DPIs
Summary: [PATCH] riscos: Ensure the window size is consistant at different DPIs
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: ARM RISC OS
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.10
Depends on: 4454
Blocks: 4651 4654
  Show dependency treegraph
 
Reported: 2019-05-19 11:42 UTC by Cameron Cawley
Modified: 2019-06-08 20:21 UTC (History)
2 users (show)

See Also:


Attachments
riscos: Ensure the window size is consistant at different DPIs (9.47 KB, patch)
2019-05-19 11:42 UTC, Cameron Cawley
Details | Diff
riscos: Ensure the window size is consistent at different DPIs (9.48 KB, patch)
2019-06-01 20:42 UTC, Jeffrey Lee
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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