mirror of
https://github.com/mpv-player/mpv
synced 2025-01-02 12:52:05 +00:00
vo_opengl: make the ra_renderpass names consistent
The random space kept screwing me over
This commit is contained in:
parent
293c696ddb
commit
2f41b834b3
@ -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);
|
||||
|
@ -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:
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user