diff options
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/opengl/ra.c | 2 | ||||
-rw-r--r-- | video/out/opengl/ra.h | 2 | ||||
-rw-r--r-- | video/out/opengl/ra_gl.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/video/out/opengl/ra.c b/video/out/opengl/ra.c index 208507dfa0..ef1de54d1a 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 46a69f2ff5..ae7fb9aea7 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 ab5c13242a..0d99877a9e 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); |