diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-10-11 01:18:56 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-10-11 01:18:56 -0700 |
commit | ad85aa4500e83ba38b0c506da7d14aff3d9380be (patch) | |
tree | 510cc281ad10fe6447f02f6077e47523fcce8a82 /src | |
parent | b855e5ed0708f2d832b35b20126af941f26dc8fb (diff) |
modules/compose: don't use *res_setting for texture
This is vestigial from pre-everything's-til_setting_t days, where
the local setting values were just the bare char* value,
requiring getting at the related til_setting_t via *res_setting.
Now that's unnecessary since the local texture variable is now a
til_setting_t*, so clean this bit up.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/compose/compose.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/compose/compose.c b/src/modules/compose/compose.c index 2740939..e45538c 100644 --- a/src/modules/compose/compose.c +++ b/src/modules/compose/compose.c @@ -355,8 +355,8 @@ static int compose_setup(const til_settings_t *settings, til_setting_t **res_set if (r) return r; - assert(res_setting && *res_setting && (*res_setting)->value_as_nested_settings); - texture_settings = (*res_setting)->value_as_nested_settings; + texture_settings = texture->value_as_nested_settings; + assert(texture_settings); r = compose_texture_module_setup(texture_settings, res_setting, |