#75 ✓resolved
Christopher Stawarz

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

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.

New-ticket Create new ticket

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

Pages