aboutsummaryrefslogtreecommitdiff
path: root/src/render/llr.c
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-10-30 17:21:22 -0700
committer3gg <3gg@shellblade.net>2025-10-30 17:21:25 -0700
commit440b292c39162284a447b34d3a692143af9fbc87 (patch)
treeb5f0adf047651a56eb74ba7b92fdf6ebe2bbc635 /src/render/llr.c
parent643382dfd364a193686201e1c82b6fe7f351f068 (diff)
- Replace SceneCamera with Camera.
- Remove backpointer from scene types to node to decouple underlying types from the scene graph.
Diffstat (limited to 'src/render/llr.c')
-rw-r--r--src/render/llr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/render/llr.c b/src/render/llr.c
index a1b37be..189041a 100644
--- a/src/render/llr.c
+++ b/src/render/llr.c
@@ -46,9 +46,6 @@ Light* gfx_make_light(const LightDesc* desc) {
46void gfx_destroy_light(Light** light) { 46void gfx_destroy_light(Light** light) {
47 assert(light); 47 assert(light);
48 if (*light) { 48 if (*light) {
49 if ((*light)->parent.val) {
50 gfx_del_node((*light)->parent);
51 }
52 mem_free_light(light); 49 mem_free_light(light);
53 } 50 }
54} 51}