diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-11 23:02:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 23:02:58 +0100 |
commit | 006ce4d83d2588907604b121023fb9f060ca1085 (patch) | |
tree | d75fb8ee2b992b4453a7f77bdacfbd637c0d9ad9 /servers | |
parent | 45360ca118a153e6defa6f7cf256f02c1c8fc75d (diff) | |
parent | 7a9972afc2373fb903ca83363de68c067f721e1d (diff) |
Merge pull request #57938 from jordigcs/negative-refresh-rate-fallback
Diffstat (limited to 'servers')
-rw-r--r-- | servers/display_server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/display_server.h b/servers/display_server.h index 19bb111094..bd38f28f17 100644 --- a/servers/display_server.h +++ b/servers/display_server.h @@ -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; |