diff options
author | Marcelo Fernandez <marcelofg55@gmail.com> | 2017-08-08 18:02:45 -0300 |
---|---|---|
committer | Marcelo Fernandez <marcelofg55@gmail.com> | 2017-08-08 18:02:45 -0300 |
commit | 077ed98c92708a3af107a0cb38fbb7dbf073fe83 (patch) | |
tree | 9d61187c94b43705f2f6fdcd2082da7122fdc781 /modules/nativescript/nativescript.cpp | |
parent | df573f5c3a76155842e43ea0dbab594e3944b114 (diff) |
Fix crash when running a game with the profiler enabled
Diffstat (limited to 'modules/nativescript/nativescript.cpp')
-rw-r--r-- | modules/nativescript/nativescript.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/nativescript/nativescript.cpp b/modules/nativescript/nativescript.cpp index f00917bcea..9ad5c2abdc 100644 --- a/modules/nativescript/nativescript.cpp +++ b/modules/nativescript/nativescript.cpp @@ -974,11 +974,11 @@ void NativeScriptLanguage::profiling_stop() { } 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) { - return -1; + return 0; } #ifndef NO_THREADS |