0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

vo_opengl: make the ra_renderpass names consistent

The random space kept screwing me over
This commit is contained in:
Niklas Haas 2017-09-08 04:33:01 +02:00
parent 293c696ddb
commit 2f41b834b3
No known key found for this signature in database
GPG Key ID: 9A09076581B27402
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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:

View File

@ -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);