Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Eagar <joeedh@gmail.com>2022-09-29 14:04:18 +0300
committerJoseph Eagar <joeedh@gmail.com>2022-09-29 14:05:03 +0300
commit6757f81fab6d38a2aad2609d3fffba9802c41f9e (patch)
treefa9111c049bd1a0d7a090d6215913aff2d31cd1f
parentdb0ef8b00d3c92751ff80a3fc061a4e663639d4b (diff)
Viewport: Remove unnecassary assert
-rw-r--r--source/blender/gpu/intern/gpu_batch.cc1
1 files changed, 0 insertions, 1 deletions
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);