Fix crash when running a game with the profiler enabled
This commit is contained in:
parent
df573f5c3a
commit
077ed98c92
1 changed files with 2 additions and 2 deletions
|
@ -974,11 +974,11 @@ void NativeScriptLanguage::profiling_stop() {
|
||||||
}
|
}
|
||||||
|
|
||||||
int NativeScriptLanguage::profiling_get_accumulated_data(ProfilingInfo *p_info_arr, int p_info_max) {
|
int NativeScriptLanguage::profiling_get_accumulated_data(ProfilingInfo *p_info_arr, int p_info_max) {
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int NativeScriptLanguage::profiling_get_frame_data(ProfilingInfo *p_info_arr, int p_info_max) {
|
int NativeScriptLanguage::profiling_get_frame_data(ProfilingInfo *p_info_arr, int p_info_max) {
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NO_THREADS
|
#ifndef NO_THREADS
|
||||||
|
|
Loading…
Reference in a new issue