Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2021-03-02 16:25:52 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-02 16:27:52 +0300
commitca2044f72b1023c0df1389af813c36217a67ceca (patch)
treed6aaba07ed401a82bf862eaa2e723adc73bc330c
parentfece538e3df15bba10b933bebd96e4d7d8e6d541 (diff)
Fix T86122: Performance Debug View Viewport Not Working
The performance debug menu isn't used that often anymore as render doc also show the timings. This patch will make sure that enabling the performance debug view (21) does not crash blender.
-rw-r--r--source/blender/draw/intern/draw_manager_profiling.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager_profiling.c b/source/blender/draw/intern/draw_manager_profiling.c
index 98a6b2bff00..9bfc8d98fe4 100644
--- a/source/blender/draw/intern/draw_manager_profiling.c
+++ b/source/blender/draw/intern/draw_manager_profiling.c
@@ -151,7 +151,6 @@ void DRW_stats_group_end(void)
void DRW_stats_query_start(const char *name)
{
GPU_debug_group_begin(name);
- drw_stats_timer_start_ex(name, false);
drw_stats_timer_start_ex(name, true);
}