diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-02-04 11:51:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 11:51:07 +0100 |
commit | d235c1bb1964b80d776a64aa2a1b198a8e52bf72 (patch) | |
tree | 5580b3e38c269efb494b20d54ae6a3e355d2dd58 /platform/android/java_godot_io_wrapper.h | |
parent | 85f6151e9d4ce9ecc4fe587cc6e76356b49e8a43 (diff) | |
parent | 54dec44dbae4859842c6d99aafaafd186b33fee4 (diff) | |
download | redot-engine-d235c1bb1964b80d776a64aa2a1b198a8e52bf72.tar.gz |
Merge pull request #57335 from jordigcs/display-refresh-rate
Diffstat (limited to 'platform/android/java_godot_io_wrapper.h')
-rw-r--r-- | platform/android/java_godot_io_wrapper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/java_godot_io_wrapper.h b/platform/android/java_godot_io_wrapper.h index c96abf1101..38a2b710a9 100644 --- a/platform/android/java_godot_io_wrapper.h +++ b/platform/android/java_godot_io_wrapper.h @@ -51,6 +51,7 @@ private: jmethodID _get_locale = 0; jmethodID _get_model = 0; jmethodID _get_screen_DPI = 0; + jmethodID _get_screen_refresh_rate = 0; jmethodID _screen_get_usable_rect = 0; jmethodID _get_unique_id = 0; jmethodID _show_keyboard = 0; @@ -71,6 +72,7 @@ public: String get_locale(); String get_model(); int get_screen_dpi(); + float get_screen_refresh_rate(float fallback); void screen_get_usable_rect(int (&p_rect_xywh)[4]); String get_unique_id(); bool has_vk(); |