summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorjordi <creptthrust@gmail.com>2022-02-10 13:31:32 -0600
committerjordi <creptthrust@gmail.com>2022-02-11 10:25:38 -0600
commit7a9972afc2373fb903ca83363de68c067f721e1d (patch)
treebaa917ffae582059f86df22978b99523f1ad1cb7 /servers
parentd6abf8f1583e8a5dfcff655e0fa7cc3d3fc2069d (diff)
Change SCREEN_GET_REFRESH_RATE_FALLBACK to -1.0
Diffstat (limited to 'servers')
-rw-r--r--servers/display_server.h2
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;