mirror of https://github.com/mpv-player/mpv
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.
This commit is contained in:
parent
ed4d21d401
commit
784ec0066f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue