Commit a61ee2b4 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Get rid of the unused "priv" parameter to gen_p8_shader().

parent eda35423
......@@ -7308,8 +7308,7 @@ static BOOL gen_nv12_read(struct wined3d_string_buffer *buffer, const struct arb
}
/* Context activation is done by the caller. */
static GLuint gen_p8_shader(struct arbfp_blit_priv *priv,
const struct wined3d_gl_info *gl_info, const struct arbfp_blit_type *type)
static GLuint gen_p8_shader(const struct wined3d_gl_info *gl_info, const struct arbfp_blit_type *type)
{
GLuint shader;
struct wined3d_string_buffer buffer;
......@@ -7647,7 +7646,7 @@ static HRESULT arbfp_blit_set(void *blit_priv, struct wined3d_context *context,
break;
case COMPLEX_FIXUP_P8:
shader = gen_p8_shader(priv, gl_info, &type);
shader = gen_p8_shader(gl_info, &type);
break;
case COMPLEX_FIXUP_YUY2:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment