[Bf-blender-cvs] [6757f81fab6] master: Viewport: Remove unnecassary assert
Joseph Eagar
noreply at git.blender.org
Thu Sep 29 13:05:08 CEST 2022
Commit: 6757f81fab6d38a2aad2609d3fffba9802c41f9e
Author: Joseph Eagar
Date: Thu Sep 29 04:04:18 2022 -0700
Branches: master
https://developer.blender.org/rB6757f81fab6d38a2aad2609d3fffba9802c41f9e
Viewport: Remove unnecassary assert
===================================================================
M source/blender/gpu/intern/gpu_batch.cc
===================================================================
diff --git a/source/blender/gpu/intern/gpu_batch.cc b/source/blender/gpu/intern/gpu_batch.cc
index c871004deac..e1876f6d8ac 100644
--- a/source/blender/gpu/intern/gpu_batch.cc
+++ b/source/blender/gpu/intern/gpu_batch.cc
@@ -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);
More information about the Bf-blender-cvs
mailing list