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:
authorClément Foucault <foucault.clem@gmail.com>2019-04-23 15:30:52 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-04-23 21:35:02 +0300
commitd10205c1a7d6d595db600842c9c2ed343d9f51aa (patch)
tree8ee21dd117a1d9cb161b7b556caa35b2a18dec38 /source/blender/gpu/intern/gpu_buffers.c
parentf32902e6dacf6f31d5b91e834a5eb259d30183d0 (diff)
GPUBuffers: Fix wrong assert
For good this time... forgot to commit it in the previous commit rBedde48f57844.
Diffstat (limited to 'source/blender/gpu/intern/gpu_buffers.c')
-rw-r--r--source/blender/gpu/intern/gpu_buffers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c
index ebe5fcf4496..a2f63882860 100644
--- a/source/blender/gpu/intern/gpu_buffers.c
+++ b/source/blender/gpu/intern/gpu_buffers.c
@@ -162,7 +162,6 @@ static void gpu_pbvh_batch_init(GPU_PBVH_Buffers *buffers, GPUPrimType prim)
}
if (buffers->lines == NULL) {
- BLI_assert(buffers->index_lines_buf != NULL);
buffers->lines = GPU_batch_create(GPU_PRIM_LINES,
buffers->vert_buf,
/* can be NULL if buffer is empty */