Merge pull request #93281 from TitanNano/jovan/fix_get_frame_data

Make `profiling_get_frame_data` call the correct GDVIRTUAL method
This commit is contained in:
Rémi Verschelde 2024-06-18 17:59:22 +02:00
commit a492b32ed0
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

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