diff options
| author | Paul Joannon | 2018-01-12 14:26:21 +0100 |
|---|---|---|
| committer | Paul Joannon | 2018-01-12 14:26:21 +0100 |
| commit | a066f896d861a9b01e6aa55f51fc9d42e407b077 (patch) | |
| tree | ef797e31e7f2afd721264ed0ac3207a87a95edac /core/bind | |
| parent | e08b6c9a9c3a4035a99496cd064af2629c5b1f68 (diff) | |
| download | godot-a066f896d861a9b01e6aa55f51fc9d42e407b077.tar.gz godot-a066f896d861a9b01e6aa55f51fc9d42e407b077.tar.zst godot-a066f896d861a9b01e6aa55f51fc9d42e407b077.zip | |
Diffstat (limited to 'core/bind')
| -rw-r--r-- | core/bind/core_bind.cpp | 2 | ||||
| -rw-r--r-- | core/bind/core_bind.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index c7039353a..32b94b9b0 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -2585,7 +2585,7 @@ void _Engine::set_target_fps(int p_fps) { Engine::get_singleton()->set_target_fps(p_fps); } -float _Engine::get_target_fps() const { +int _Engine::get_target_fps() const { return Engine::get_singleton()->get_target_fps(); } diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index bc5b8ea04..2353b6d09 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -656,7 +656,7 @@ public: int get_iterations_per_second() const; void set_target_fps(int p_fps); - float get_target_fps() const; + int get_target_fps() const; float get_frames_per_second() const; |
