Просмотр исходного кода

Merge pull request #93281 from TitanNano/jovan/fix_get_frame_data

Make `profiling_get_frame_data` call the correct GDVIRTUAL method
Rémi Verschelde 1 год назад
Родитель
Сommit
a492b32ed0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      core/object/script_language_extension.h

+ 1 - 1
core/object/script_language_extension.h

@@ -646,7 +646,7 @@ public:
 
 	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;
 	}