Browse Source

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

pull/2715/head
Andrew Novikov 10 years ago committed by tux3
parent
commit
9d43062639
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 2
      src/video/videomode.h

2
src/video/videomode.h

@ -25,7 +25,7 @@ @@ -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

Loading…
Cancel
Save