fix _mesa_image_address2d invocation

This commit is contained in:
Daniel Borca
2004-11-15 08:05:59 +00:00
parent 37918cf3d9
commit fdd74136b3
+1 -1
View 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);