diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-08-11 10:38:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-11 10:38:16 +0200 |
commit | dbece391a8cd9201850e83c4bf9ed1235548a37b (patch) | |
tree | 8f7261e5c43d9b452af06648177d484862c95e6c /modules | |
parent | 0f23c4a3c0fb26bfe0c7b17a098c16337b6cbe6b (diff) | |
parent | 077ed98c92708a3af107a0cb38fbb7dbf073fe83 (diff) |
Merge pull request #10179 from marcelofg55/master
Fix crash when running a game with the profiler enabled
Diffstat (limited to 'modules')
-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 101928a668..d428834d59 100644 --- a/modules/nativescript/nativescript.cpp +++ b/modules/nativescript/nativescript.cpp @@ -972,11 +972,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 |