Browse Source

Make profiling_get_frame_data call the correct GDVIRTUAL method.

Jovan Gerodetti 1 year ago
parent
commit
21586da50e
1 changed files with 1 additions and 1 deletions
  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;
 	}