Cleanup: quiet unused variable warning

This commit is contained in:
Campbell Barton 2022-06-14 14:30:04 +10:00
parent 67f5596f19
commit 9a063e85a5
1 changed files with 1 additions and 0 deletions

View File

@ -1456,6 +1456,7 @@ static void pbvh_update_draw_buffers(PBVH *pbvh, PBVHNode **nodes, int totnode,
vdata = NULL;
break;
}
UNUSED_VARS(vdata);
if ((update_flag & PBVH_RebuildDrawBuffers) || ELEM(pbvh->type, PBVH_GRIDS, PBVH_BMESH)) {
/* Free buffers uses OpenGL, so not in parallel. */