summaryrefslogtreecommitdiff
path: root/platform/osx/display_server_osx.h
diff options
context:
space:
mode:
authorjordi <creptthrust@gmail.com>2022-01-27 13:46:57 -0600
committerjordi <creptthrust@gmail.com>2022-02-03 21:50:32 -0600
commit54dec44dbae4859842c6d99aafaafd186b33fee4 (patch)
tree404270d60c2baaba7031df98bb78c604872e30a3 /platform/osx/display_server_osx.h
parent203e261526ebe123523d7e6ea6cfc6c628216e9d (diff)
Add screen_get_refresh_rate to DisplayServer
Diffstat (limited to 'platform/osx/display_server_osx.h')
-rw-r--r--platform/osx/display_server_osx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/osx/display_server_osx.h b/platform/osx/display_server_osx.h
index d609a84e50..4e2adc768f 100644
--- a/platform/osx/display_server_osx.h
+++ b/platform/osx/display_server_osx.h
@@ -228,6 +228,7 @@ public:
virtual float screen_get_scale(int p_screen = SCREEN_OF_MAIN_WINDOW) const override;
virtual float screen_get_max_scale() const override;
virtual Rect2i screen_get_usable_rect(int p_screen = SCREEN_OF_MAIN_WINDOW) const override;
+ virtual float screen_get_refresh_rate(int p_screen = SCREEN_OF_MAIN_WINDOW) const override;
virtual Vector<int> get_window_list() const override;