From 34c4c24d4e6337268fa6a318b7f333cd99b1454b Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Mon, 16 Sep 2024 09:16:15 -0700 Subject: Better naming. --- gfx/src/util/skyquad.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gfx/src/util/skyquad.c b/gfx/src/util/skyquad.c index ff8f73f..08fa044 100644 --- a/gfx/src/util/skyquad.c +++ b/gfx/src/util/skyquad.c @@ -83,15 +83,16 @@ cleanup: /// Create an environment light node. static SceneNode* make_environment_light( - SceneNode* root, const Texture* environment_light) { + SceneNode* root, const Texture* environment_map) { assert(root); + assert(environment_map); Light* light = 0; SceneNode* light_node = 0; light = gfx_make_light(&(LightDesc){ .type = EnvironmentLightType, - .light = {(EnvironmentLightDesc){.environment_map = environment_light}}}); + .light = {(EnvironmentLightDesc){.environment_map = environment_map}}}); if (!light) { goto cleanup; } -- cgit v1.2.3