diff options
author | jordi <creptthrust@gmail.com> | 2022-01-27 13:46:57 -0600 |
---|---|---|
committer | jordi <creptthrust@gmail.com> | 2022-02-03 21:50:32 -0600 |
commit | 54dec44dbae4859842c6d99aafaafd186b33fee4 (patch) | |
tree | 404270d60c2baaba7031df98bb78c604872e30a3 /platform/windows/display_server_windows.h | |
parent | 203e261526ebe123523d7e6ea6cfc6c628216e9d (diff) |
Add screen_get_refresh_rate to DisplayServer
Diffstat (limited to 'platform/windows/display_server_windows.h')
-rw-r--r-- | platform/windows/display_server_windows.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/windows/display_server_windows.h b/platform/windows/display_server_windows.h index 3593dc1a05..e86629ab6f 100644 --- a/platform/windows/display_server_windows.h +++ b/platform/windows/display_server_windows.h @@ -458,6 +458,7 @@ public: virtual Size2i screen_get_size(int p_screen = SCREEN_OF_MAIN_WINDOW) const override; virtual Rect2i screen_get_usable_rect(int p_screen = SCREEN_OF_MAIN_WINDOW) const override; virtual int screen_get_dpi(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 bool screen_is_touchscreen(int p_screen = SCREEN_OF_MAIN_WINDOW) const override; virtual void screen_set_orientation(ScreenOrientation p_orientation, int p_screen = SCREEN_OF_MAIN_WINDOW) override; |