Cleanup: DRW: Fix warning in release mode

This commit is contained in:
Clément Foucault
2022-09-02 21:16:30 +02:00
parent 86e7aaead2
commit 65a215b819

View File

@@ -476,6 +476,7 @@ class DrawMultiBuf {
/* Unsupported for now. Use PassSimple. */
BLI_assert(vertex_first == 0 || vertex_first == -1);
BLI_assert(vertex_len == -1);
UNUSED_VARS_NDEBUG(vertex_len, vertex_first);
instance_len = instance_len != -1 ? instance_len : 1;