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:
parent
1dac0d09c8
commit
9d43062639
|
@ -25,7 +25,7 @@
|
||||||
struct VideoMode
|
struct VideoMode
|
||||||
{
|
{
|
||||||
unsigned short width, height; ///< Displayed video resolution (NOT frame resolution)
|
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
|
/// All zeros means a default/unspecified mode
|
||||||
operator bool() const
|
operator bool() const
|
||||||
|
|
Loading…
Reference in New Issue
Block a user