diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-05 19:28:30 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-05 19:28:30 +0300 |
commit | 63cfc8f9f6d623f33b50c5c07976af2b22845713 (patch) | |
tree | de483fd2049cdd90196b5a9bb14e43aacebab95a /source/blender/draw/intern | |
parent | 70da5a1434efb5d1639264d8a0c49b56e8fc5db6 (diff) |
Cleanup: Fix unused variable warnings
Diffstat (limited to 'source/blender/draw/intern')
-rw-r--r-- | source/blender/draw/intern/draw_debug.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_debug.cc b/source/blender/draw/intern/draw_debug.cc index 9cb79d73812..b0662a42ea0 100644 --- a/source/blender/draw/intern/draw_debug.cc +++ b/source/blender/draw/intern/draw_debug.cc @@ -671,6 +671,8 @@ void DRW_debug_modelmat(const float modelmat[4][4]) return; } reinterpret_cast<blender::draw::DebugDraw *>(DST.debug)->modelmat_set(modelmat); +#else + UNUSED_VARS(modelmat); #endif } @@ -718,6 +720,8 @@ void DRW_debug_bbox(const BoundBox *bbox, const float color[4]) return; } reinterpret_cast<blender::draw::DebugDraw *>(DST.debug)->draw_bbox(*bbox, color); +#else + UNUSED_VARS(bbox, color); #endif } |