Skip to content

Commit

Permalink
vo_opengl: make the ra_renderpass names consistent
Browse files Browse the repository at this point in the history
The random space kept screwing me over
  • Loading branch information
haasn committed Sep 13, 2017
1 parent 293c696 commit 2f41b83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion video/out/opengl/ra.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion video/out/opengl/ra.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion video/out/opengl/ra_gl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2f41b83

Please sign in to comment.