diff --git a/src/mesa/swrast/s_texfilter.c b/src/mesa/swrast/s_texfilter.c index 4d8b8ed0d10..4b4c3b723b8 100644 --- a/src/mesa/swrast/s_texfilter.c +++ b/src/mesa/swrast/s_texfilter.c @@ -1150,7 +1150,7 @@ static void sample_2d_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, - const GLfloat texcoord[4], + const GLfloat texcoord[2], GLfloat rgba[]) { const struct swrast_texture_image *swImg = swrast_texture_image_const(img);