Viewport: Remove unnecassary assert

This commit is contained in:
2022-09-29 04:04:18 -07:00
parent db0ef8b00d
commit 6757f81fab

View File

@@ -56,7 +56,6 @@ void GPU_batch_init_ex(GPUBatch *batch,
GPUIndexBuf *elem,
eGPUBatchFlag owns_flag)
{
BLI_assert(verts != nullptr);
/* Do not pass any other flag */
BLI_assert((owns_flag & ~(GPU_BATCH_OWNS_VBO | GPU_BATCH_OWNS_INDEX)) == 0);