diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-09-17 13:17:45 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-09-17 13:27:00 +0300 |
commit | 9dcce5be90614fef9b44cb0606a930238009b3d0 (patch) | |
tree | 9dbe7a3e8609b65dba79d3884c131c492b28de9f | |
parent | a1aafddcbeeff23df34fa5ecb8486c59ef31e7c1 (diff) |
DRW: Debug: Fix row / column counters not being reset on init
This fixes the issues with CPU debug print not being in the right order.
-rw-r--r-- | source/blender/draw/intern/draw_debug.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_debug.cc b/source/blender/draw/intern/draw_debug.cc index b0662a42ea0..811185395fd 100644 --- a/source/blender/draw/intern/draw_debug.cc +++ b/source/blender/draw/intern/draw_debug.cc @@ -85,6 +85,9 @@ void DebugDraw::init() gpu_draw_buf_.command.instance_first_array = 0; gpu_draw_buf_used = false; + print_col_ = 0; + print_row_ = 0; + modelmat_reset(); } |