Mesh Batch Cache: Speedup: Only alloc gpu_attrs if needed and don't clear
authorClément Foucault <foucault.clem@gmail.com>
Wed, 8 May 2019 10:00:50 +0000 (12:00 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Wed, 8 May 2019 15:52:48 +0000 (17:52 +0200)
commitbb4b6cddcb89fb64479c6a246565b34ad0b74d82
tree7e177fc5e429857aa69395507f3f79610bf3d3e1
parent7bfe70f2ba09f6311cb4f1170398d522480bb274
Mesh Batch Cache: Speedup: Only alloc gpu_attrs if needed and don't clear

No need to clear since GPU_material_vertex_attrs is overriding
source/blender/draw/intern/draw_cache_impl_mesh.c