diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-04 00:15:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-04 00:15:26 +0300 |
commit | d0c418b10a1a3ae5667738153fcd41d4c2c54ded (patch) | |
tree | b85edb7d57843f9447b28998ab04976fa30785a0 | |
parent | 22bc9fb4a9eca2dce4f51652d61f14f65eef0227 (diff) |
Cleanup: redundant casts
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_displist.c | 4 |
1 files changed, 2 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 9f90ac4fd6c..29fc5478072 100644 --- a/source/blender/draw/intern/draw_cache_impl_displist.c +++ b/source/blender/draw/intern/draw_cache_impl_displist.c @@ -311,8 +311,8 @@ void DRW_displist_indexbuf_create_lines_in_order(ListBase *lb, GPUIndexBuf *ibo) int ofs = 0; for (const DispList *dl = lb->first; dl; dl = dl->next) { displist_indexbufbuilder_set( - (SetTriIndicesFn *)set_overlay_wires_tri_indices, - (SetTriIndicesFn *)set_overlay_wires_quad_tri_indices, + set_overlay_wires_tri_indices, + set_overlay_wires_quad_tri_indices, &elb, dl, ofs); ofs += dl_vert_len(dl); } |