From: Daniel Borca Date: Mon, 15 Nov 2004 08:05:59 +0000 (+0000) Subject: fix _mesa_image_address2d invocation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fdd74136b32e27c9193748176be1e2b87fae4075;p=mesa.git fix _mesa_image_address2d invocation --- diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 69c1d7e51ab..a54bf8fb9c9 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -1572,7 +1572,7 @@ fxDDDrawPixels8888 (GLcontext * ctx, GLint x, GLint y, GLint row; for (row = 0; row < height; row++) { GLubyte *src = (GLubyte *) _mesa_image_address2d(finalUnpack, - pixels, width, height, format, type, 0, row, 0); + pixels, width, height, format, type, row, 0); GLint col; for (col = 0; col < width; col++) { dst[col] = TDFXPACKCOLOR8888(src[2], src[1], src[0], 255);