diff options
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_displist.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_displist.c b/source/blender/draw/intern/draw_cache_impl_displist.c index 33c4a938a56..28a0b89f10d 100644 --- a/source/blender/draw/intern/draw_cache_impl_displist.c +++ b/source/blender/draw/intern/draw_cache_impl_displist.c @@ -120,8 +120,6 @@ static void displist_indexbufbuilder_set(Gwn_IndexBufBuilder *elb, const DispLis Gwn_VertBuf *DRW_displist_vertbuf_calc_pos_with_normals(ListBase *lb) { - const int tri_len = curve_render_surface_tri_len_get(lb); - static Gwn_VertFormat format = { 0 }; static struct { uint pos, nor; } attr_id; if (format.attrib_ct == 0) { |