Use Callable in RS::request_frame_drawn_callback

This commit is contained in:
Brian Semrau 2021-11-05 01:59:38 -04:00
parent 578460f7fb
commit ac24070056
9 changed files with 29 additions and 75 deletions

View file

@ -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);