Change SCREEN_GET_REFRESH_RATE_FALLBACK to -1.0

This commit is contained in:
jordi 2022-02-10 13:31:32 -06:00
parent d6abf8f158
commit 7a9972afc2
2 changed files with 9 additions and 3 deletions

View file

@ -175,7 +175,7 @@ public:
SCREEN_OF_MAIN_WINDOW = -1
};
const float SCREEN_REFRESH_RATE_FALLBACK = 60.0; // Returned by screen_get_refresh_rate if the method fails. Most screens are 60hz as of 2022.
const float SCREEN_REFRESH_RATE_FALLBACK = -1.0; // Returned by screen_get_refresh_rate if the method fails.
virtual int get_screen_count() const = 0;
virtual Point2i screen_get_position(int p_screen = SCREEN_OF_MAIN_WINDOW) const = 0;