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:
authorJeroen Bakker <jeroen@blender.org>2020-10-07 14:55:07 +0300
committerJeroen Bakker <jeroen@blender.org>2020-10-07 17:18:12 +0300
commite3a0e57542ff153575e1d0de1dc18388406ca6a8 (patch)
treedc4b209b2a00c412a1426b358f5620fe1b227d4c /GNUmakefile
parent0796807720882731cdb70be144aa182e9b0b9ee5 (diff)
CleanUp: DrawManager Balanced alloc/free of surface_per_mat cache
The alloc was done in the init, but the free was done in the discard. As discarding can happen more often there were some unneeded if statements to work around use after free. This patch moves the free to the `mesh_batch_cache_clear` and removes the if statements to check for use after free.
Diffstat (limited to 'GNUmakefile')
0 files changed, 0 insertions, 0 deletions