From 22c19e855fa9ae7b5d2cc215fb940429eac2a74b Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 30 Mar 2017 23:15:29 +0200 Subject: [PATCH] wined3d: Get rid of the unused "priv" parameter to gen_yuv_shader(). Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/wined3d/arb_program_shader.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c index 8808de5d0a7..ce16f9f86e5 100644 --- a/dlls/wined3d/arb_program_shader.c +++ b/dlls/wined3d/arb_program_shader.c @@ -7396,8 +7396,7 @@ static void upload_palette(const struct wined3d_texture *texture, struct wined3d } /* Context activation is done by the caller. */ -static GLuint gen_yuv_shader(struct arbfp_blit_priv *priv, const struct wined3d_gl_info *gl_info, - const struct arbfp_blit_type *type) +static GLuint gen_yuv_shader(const struct wined3d_gl_info *gl_info, const struct arbfp_blit_type *type) { GLuint shader; struct wined3d_string_buffer buffer; @@ -7653,7 +7652,7 @@ static HRESULT arbfp_blit_set(void *blit_priv, struct wined3d_context *context, case COMPLEX_FIXUP_UYVY: case COMPLEX_FIXUP_YV12: case COMPLEX_FIXUP_NV12: - shader = gen_yuv_shader(priv, gl_info, &type); + shader = gen_yuv_shader(gl_info, &type); break; }