Don't truncate non-integer refresh rates
Reported by Christopher Stawarz | May 18th, 2011 @ 12:03 PM | in 0.5.0 (closed)
OpenGLContextManager::_measureDisplayRefreshRate
obtains and stores the display's refresh rate as a floating-point
value. However,
OpenGLContextManager::getDisplayRefreshRate
truncates
the value to an integer. Not all displays have integer refresh
rates (e.g. one user recently reported using a display with a
refresh rate of ~59.875Hz), so we should preserve the full
floating-point value.
Comments and changes to this ticket
-
David Cox June 10th, 2011 @ 03:54 PM
- State changed from open to resolved
(from [224e0b322c22b54715ffea84165ee18bd13f45b0]) Handle non-integer display refresh rates correctly [#75 state:resolved] https://github.com/mworks-project/mw_core/commit/224e0b322c22b54715...
-
Christopher Stawarz April 17th, 2012 @ 01:58 PM
- Milestone set to 0.5.0
- Milestone order changed from 168168 to 0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The core framework and supporting libraries for the MWorks Suite
People watching this ticket
Referenced by
- 75 Don't truncate non-integer refresh rates (from [224e0b322c22b54715ffea84165ee18bd13f45b0]) Handle ...