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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-12-15 12:54:00 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-12-15 12:54:00 +0300
commit7402b8ec74b4f74371d92816d22869ec9bd95da4 (patch)
tree86309baf476b5ef68542bf212f8bc0d1159a9986 /source/blender/draw/intern/draw_cache_impl_displist.c
parentf4140f2c8138ec07ba06376c4d0d70d40fca6fad (diff)
Draw manager: Cleanup, unused variable
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_displist.c')
-rw-r--r--source/blender/draw/intern/draw_cache_impl_displist.c2
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) {