summaryrefslogtreecommitdiff
path: root/nanosec.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-12-18 22:03:02 +0000
committerrodri <rgl@antares-labs.eu>2023-12-18 22:03:02 +0000
commitc6b9f1912fd3821f9806f74fa9b81ff9ba4d7b4e (patch)
tree279886b20dc3a4b32d4ddd21968f469ced256833 /nanosec.c
parent2621771b920cecec2c0232a174a5aea4e1bd027f (diff)
downloadtinyrend-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 'nanosec.c')
0 files changed, 0 insertions, 0 deletions