diff --git a/video/out/opengl/ra.c b/video/out/opengl/ra.c index 208507dfa05cc..ef1de54d1a853 100644 --- a/video/out/opengl/ra.c +++ b/video/out/opengl/ra.c @@ -71,7 +71,7 @@ static struct ra_renderpass_input *dup_inputs(void *ta_parent, } // Return a newly allocated deep-copy of params. -struct ra_renderpass_params *ra_render_pass_params_copy(void *ta_parent, +struct ra_renderpass_params *ra_renderpass_params_copy(void *ta_parent, const struct ra_renderpass_params *params) { struct ra_renderpass_params *res = talloc_ptrtype(ta_parent, res); diff --git a/video/out/opengl/ra.h b/video/out/opengl/ra.h index 46a69f2ff5c94..ae7fb9aea730a 100644 --- a/video/out/opengl/ra.h +++ b/video/out/opengl/ra.h @@ -281,7 +281,7 @@ struct ra_renderpass_params { const char *compute_shader; }; -struct ra_renderpass_params *ra_render_pass_params_copy(void *ta_parent, +struct ra_renderpass_params *ra_renderpass_params_copy(void *ta_parent, const struct ra_renderpass_params *params); // Conflates the following typical GPU API concepts: diff --git a/video/out/opengl/ra_gl.c b/video/out/opengl/ra_gl.c index ab5c13242ac52..0d99877a9e1db 100644 --- a/video/out/opengl/ra_gl.c +++ b/video/out/opengl/ra_gl.c @@ -811,7 +811,7 @@ static struct ra_renderpass *gl_renderpass_create(struct ra *ra, GL *gl = ra_gl_get(ra); struct ra_renderpass *pass = talloc_zero(NULL, struct ra_renderpass); - pass->params = *ra_render_pass_params_copy(pass, params); + pass->params = *ra_renderpass_params_copy(pass, params); pass->params.cached_program = (bstr){0}; struct ra_renderpass_gl *pass_gl = pass->priv = talloc_zero(NULL, struct ra_renderpass_gl);