diff options
author | rodri <rgl@antares-labs.eu> | 2023-12-18 22:03:02 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2023-12-18 22:03:02 +0000 |
commit | c6b9f1912fd3821f9806f74fa9b81ff9ba4d7b4e (patch) | |
tree | 279886b20dc3a4b32d4ddd21968f469ced256833 /mdl/earth.obj | |
parent | 2621771b920cecec2c0232a174a5aea4e1bd027f (diff) | |
download | tinyrend-c6b9f1912fd3821f9806f74fa9b81ff9ba4d7b4e.tar.gz tinyrend-c6b9f1912fd3821f9806f74fa9b81ff9ba4d7b4e.tar.bz2 tinyrend-c6b9f1912fd3821f9806f74fa9b81ff9ba4d7b4e.zip |
fix memory leak when counting faces during shading.
since the model won't change, instead of freeing the elems on every run i decided to make the relevant counts statically allocated, and do the counting once.
Diffstat (limited to 'mdl/earth.obj')
0 files changed, 0 insertions, 0 deletions