diff options
Diffstat (limited to 'src/render/llr.c')
| -rw-r--r-- | src/render/llr.c | 3 | 
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) { | |||
| 46 | void gfx_destroy_light(Light** light) { | 46 | void 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 | } | 
