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 3664 - SDL_DisplayMode struct should store refresh_rate as a double
Summary: SDL_DisplayMode struct should store refresh_rate as a double
Status: ASSIGNED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.1
Hardware: x86_64 Windows 10
: P2 API change
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-08 13:39 UTC by areddan
Modified: 2017-08-11 18:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description areddan 2017-06-08 13:39:42 UTC
To be able to support target phys/sim timestep to be some factor of actual monitor refresh rate (1x, 2x, 0.5x). You can have monitors that are 59.94hz for example (see link below) that will report 59hz here. Not a HUGE deal but it'd be nice to have that precision.

https://support.microsoft.com/en-us/help/2006076/screen-refresh-rate-in-windows-does-not-apply-the-user-selected-settings-on-monitors-tvs-that-report-specific-tv-compatible-timings
Comment 1 Sam Lantinga 2017-08-11 18:12:33 UTC
Yes, this is a good change for SDL 2.1