diff options
Diffstat (limited to 'gfx/src/scene/light.c')
-rw-r--r-- | gfx/src/scene/light.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/src/scene/light.c b/gfx/src/scene/light.c index 1046c82..adbec8d 100644 --- a/gfx/src/scene/light.c +++ b/gfx/src/scene/light.c | |||
@@ -23,7 +23,7 @@ Light* gfx_make_light(const LightDesc* desc) { | |||
23 | make_environment_light(light, &desc->light.environment); | 23 | make_environment_light(light, &desc->light.environment); |
24 | break; | 24 | break; |
25 | default: | 25 | default: |
26 | set_error("Unhandled light type"); | 26 | log_error("Unhandled light type"); |
27 | gfx_destroy_light(&light); | 27 | gfx_destroy_light(&light); |
28 | return 0; | 28 | return 0; |
29 | } | 29 | } |