DRW: Make shaded batch validation more correct
authorClément Foucault <foucault.clem@gmail.com>
Thu, 18 Apr 2019 15:25:04 +0000 (17:25 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Fri, 19 Apr 2019 13:19:43 +0000 (15:19 +0200)
commit973e64cf9cb23b91e329ebac9a0f4c69647edf20
tree8d9b1ce47b8d7d646f65e3b3c8040bc5b72ec2bb
parent0ebf43b4d0a955469a8b7544089c07370781cf88
DRW: Make shaded batch validation more correct

This is in order to support garbage collection of unused Custom data layer uploaded to the GPU.

Actual Garbage Collection is not added by this commit.
source/blender/draw/intern/draw_cache_impl_mesh.c
source/blender/makesrna/intern/rna_space.c