[Bf-blender-cvs] [6f260d96a42] tmp-overlay-engine: Fix compilation error

Clément Foucault noreply at git.blender.org
Fri Nov 15 01:34:55 CET 2019


Commit: 6f260d96a429479e13ada54d838ec39c5532d5e8
Author: Clément Foucault
Date:   Wed Nov 6 13:27:10 2019 +0100
Branches: tmp-overlay-engine
https://developer.blender.org/rB6f260d96a429479e13ada54d838ec39c5532d5e8

Fix compilation error

===================================================================

M	source/blender/gpu/intern/gpu_vertex_buffer.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_vertex_buffer.c b/source/blender/gpu/intern/gpu_vertex_buffer.c
index 3ade8bfb07d..1df7e68e08b 100644
--- a/source/blender/gpu/intern/gpu_vertex_buffer.c
+++ b/source/blender/gpu/intern/gpu_vertex_buffer.c
@@ -202,7 +202,6 @@ void GPU_vertbuf_vert_set(GPUVertBuf *verts, uint v_idx, const void *data)
   const GPUVertFormat *format = &verts->format;
 
 #if TRUST_NO_ONE
-  assert(a_idx < format->attr_len);
   assert(v_idx < verts->vertex_alloc);
   assert(verts->data != NULL);
 #endif



More information about the Bf-blender-cvs mailing list