fix _mesa_image_address2d invocation
authorDaniel Borca <dborca@users.sourceforge.net>
Mon, 15 Nov 2004 08:05:59 +0000 (08:05 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Mon, 15 Nov 2004 08:05:59 +0000 (08:05 +0000)
src/mesa/drivers/glide/fxdd.c

index 69c1d7e51ab4fae551ef9281352818f71d9cc40a..a54bf8fb9c99525c7ad26f631fc6f98d63f23f7a 100644 (file)
@@ -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);