diff --git a/gfx/shader_parse.c b/gfx/shader_parse.c index 8c7e70270d..a1a7c94b02 100644 --- a/gfx/shader_parse.c +++ b/gfx/shader_parse.c @@ -237,6 +237,8 @@ static bool shader_parse_imports(config_file_t *conf, struct gfx_shader *shader) return false; } + enum state_ram_type ram_type = RARCH_STATE_NONE; + if (strcmp(semantic, "capture") == 0) var->type = RARCH_STATE_CAPTURE; else if (strcmp(semantic, "transition") == 0)