wined3d: Get rid of the unused "priv" parameter to gen_p8_shader().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
eda35423f4
commit
a61ee2b499
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue