diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-05 09:35:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 09:35:23 +0100 |
commit | 2b46e2e1d4bd4b062a379b8adb791ffd9444934c (patch) | |
tree | 998ad37a2615b7baa868aec5ba05d4bd06e3b044 /servers/rendering_server.cpp | |
parent | 578460f7fb7b694f4601e8e6fdc4a5ee67de4067 (diff) | |
parent | ac24070056871442b0559e7875372f40aadf8d02 (diff) |
Merge pull request #54620 from briansemrau/request-frame-callable
Use Callable in RenderingServer `request_frame_drawn_callback`
Diffstat (limited to 'servers/rendering_server.cpp')
-rw-r--r-- | servers/rendering_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp index 1b16949768..cdf7fa530e 100644 --- a/servers/rendering_server.cpp +++ b/servers/rendering_server.cpp @@ -2701,7 +2701,7 @@ void RenderingServer::_bind_methods() { /* Misc */ - ClassDB::bind_method(D_METHOD("request_frame_drawn_callback", "where", "method", "userdata"), &RenderingServer::request_frame_drawn_callback); + ClassDB::bind_method(D_METHOD("request_frame_drawn_callback", "callable"), &RenderingServer::request_frame_drawn_callback); ClassDB::bind_method(D_METHOD("has_changed"), &RenderingServer::has_changed); ClassDB::bind_method(D_METHOD("get_rendering_info", "info"), &RenderingServer::get_rendering_info); ClassDB::bind_method(D_METHOD("get_video_adapter_name"), &RenderingServer::get_video_adapter_name); |