diff options
author | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2021-10-14 08:55:54 -0700 |
---|---|---|
committer | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2021-10-14 14:14:26 -0700 |
commit | 8f0c056431d484502c758b912975c35c7f5653f7 (patch) | |
tree | 3eb2af7da42d2e58d1efead3f339a613b3667620 /editor | |
parent | f90047f1583cdb8f4d7346a626b4992406761331 (diff) |
Fix specific warnings issues by Clang
Found by `scons dev=yes` on llvm-mingw.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/debugger/editor_visual_profiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/debugger/editor_visual_profiler.cpp b/editor/debugger/editor_visual_profiler.cpp index f17ad0d36c..f25f18b7e4 100644 --- a/editor/debugger/editor_visual_profiler.cpp +++ b/editor/debugger/editor_visual_profiler.cpp @@ -370,8 +370,8 @@ void EditorVisualProfiler::_update_frame(bool p_focus_selected) { float total_gpu = E->get_metadata(2); total_cpu += cpu_time; total_gpu += gpu_time; - E->set_metadata(1, cpu_time); - E->set_metadata(2, gpu_time); + E->set_metadata(1, total_cpu); + E->set_metadata(2, total_gpu); } category->set_icon(0, track_icon); |