From: Daniel Borca Date: Mon, 18 Oct 2004 08:07:26 +0000 (+0000) Subject: small fix to match new _mesa_rescale_teximage2d X-Git-Tag: mesa-7.8~10462 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c99a99b3bc4595162f8a8927b8d2d53c78edc1a0;p=platform%2Fupstream%2Fmesa.git small fix to match new _mesa_rescale_teximage2d --- diff --git a/src/mesa/drivers/dri/tdfx/tdfx_tex.c b/src/mesa/drivers/dri/tdfx/tdfx_tex.c index c6fa350..5e528dc 100644 --- a/src/mesa/drivers/dri/tdfx/tdfx_tex.c +++ b/src/mesa/drivers/dri/tdfx/tdfx_tex.c @@ -1194,6 +1194,7 @@ adjust2DRatio (GLcontext *ctx, + xoffset * mml->wScale) * texelBytes; _mesa_rescale_teximage2d(texelBytes, + width, dstRowStride, /* dst stride */ width, height, newWidth, newHeight, @@ -1217,6 +1218,7 @@ adjust2DRatio (GLcontext *ctx, width, height, 1, format, type, pixels, packing); _mesa_rescale_teximage2d(rawBytes, + width, newWidth * rawBytes, /* dst stride */ width, height, /* src */ newWidth, newHeight, /* dst */