From f4803b102394ead080f81361633ca50982e5fac2 Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Fri, 1 Jul 2022 14:16:13 +0200 Subject: [PATCH] Silence warning - video_shader_is_shader_chain_config --- gfx/video_shader_parse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/video_shader_parse.c b/gfx/video_shader_parse.c index 27cbf23c95..849e16ec4f 100644 --- a/gfx/video_shader_parse.c +++ b/gfx/video_shader_parse.c @@ -891,8 +891,7 @@ static bool video_shader_is_shader_chain_config(config_file_t *conf) a shader chain config, vs a config which may only have parameter values and texture overrides */ - - return config_get_entry(conf, "shaders"); + return config_get_entry(conf, "shaders") != NULL; } static config_file_t *video_shader_get_root_preset_config(const char *path)