1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Changed the type of VideoMode::FPS to float: this is necessary for Mac OS X which uses frame rates like 29.97

This commit is contained in:
Andrew Novikov 2015-12-21 00:44:53 +03:00 committed by tux3
parent 1dac0d09c8
commit 9d43062639
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -25,7 +25,7 @@
struct VideoMode
{
unsigned short width, height; ///< Displayed video resolution (NOT frame resolution)
unsigned short FPS; ///< Max frames per second supported by the device at this resolution
float FPS; ///< Max frames per second supported by the device at this resolution
/// All zeros means a default/unspecified mode
operator bool() const