Skip to content

Commit

Permalink
Merge pull request #93281 from TitanNano/jovan/fix_get_frame_data
Browse files Browse the repository at this point in the history
Make `profiling_get_frame_data` call the correct GDVIRTUAL method
  • Loading branch information
akien-mga committed Jun 18, 2024
2 parents 2c5f6db + 21586da commit a492b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/object/script_language_extension.h
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ class ScriptLanguageExtension : public ScriptLanguage {

virtual int profiling_get_frame_data(ProfilingInfo *p_info_arr, int p_info_max) override {
int ret = 0;
GDVIRTUAL_REQUIRED_CALL(_profiling_get_accumulated_data, p_info_arr, p_info_max, ret);
GDVIRTUAL_REQUIRED_CALL(_profiling_get_frame_data, p_info_arr, p_info_max, ret);
return ret;
}

Expand Down

0 comments on commit a492b32

Please sign in to comment.