Cleanup: Fix unused variable warnings

This commit is contained in:
Hans Goudey
2022-09-05 11:28:30 -05:00
parent 70da5a1434
commit 63cfc8f9f6

View File

@@ -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
}