From 784ec0066f80dcd28b1b4ac89a0cba73d96de4d7 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Fri, 3 Nov 2023 11:43:29 -0500 Subject: [PATCH] ra_pl: drop deprecated cached_program param This was deprecated in api version 322 which earlier than the current 6.338 version that mpv depends on. So remove it. --- video/out/placebo/ra_pl.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/video/out/placebo/ra_pl.c b/video/out/placebo/ra_pl.c index 7b15022367..625965139f 100644 --- a/video/out/placebo/ra_pl.c +++ b/video/out/placebo/ra_pl.c @@ -450,8 +450,6 @@ static struct ra_renderpass *renderpass_create_pl(struct ra *ra, .glsl_shader = params->type == RA_RENDERPASS_TYPE_COMPUTE ? params->compute_shader : params->frag_shader, - .cached_program = params->cached_program.start, - .cached_program_len = params->cached_program.len, }; struct pl_blend_params blend_params; @@ -505,11 +503,6 @@ static struct ra_renderpass *renderpass_create_pl(struct ra *ra, .priv = talloc_steal(pass, priv), }; - pass->params.cached_program = (struct bstr) { - .start = (void *) priv->pass->params.cached_program, - .len = priv->pass->params.cached_program_len, - }; - // fall through error: talloc_free(tmp);