From 9d430626397bb66021949985d9ebbd099870cdea Mon Sep 17 00:00:00 2001 From: Andrew Novikov Date: Mon, 21 Dec 2015 00:44:53 +0300 Subject: [PATCH] Changed the type of VideoMode::FPS to float: this is necessary for Mac OS X which uses frame rates like 29.97 --- src/video/videomode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/videomode.h b/src/video/videomode.h index ff76c063b..d3e17f98b 100644 --- a/src/video/videomode.h +++ b/src/video/videomode.h @@ -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