summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/glide/fxddtex.c
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2004-10-20 11:59:28 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2004-10-20 11:59:28 +0000
commita7855e835dc5e806a232a50ee7f2bea0ceb7dc9b (patch)
treebc0b7fb6e8a5795aa8f4f99c4f562bef99e75a99 /src/mesa/drivers/glide/fxddtex.c
parent05517d02be557d49b3ce043a4b2c179320e42412 (diff)
fixed compilation errors
Diffstat (limited to 'src/mesa/drivers/glide/fxddtex.c')
-rw-r--r--src/mesa/drivers/glide/fxddtex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/glide/fxddtex.c b/src/mesa/drivers/glide/fxddtex.c
index 2ac3ec005d..8665db7a93 100644
--- a/src/mesa/drivers/glide/fxddtex.c
+++ b/src/mesa/drivers/glide/fxddtex.c
@@ -1267,6 +1267,7 @@ adjust2DRatio (GLcontext *ctx,
+ xoffset * mml->wScale) * texelBytes;
_mesa_rescale_teximage2d(texelBytes,
+ width,
dstRowStride, /* dst stride */
width, height,
newWidth, newHeight,
@@ -1290,6 +1291,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 */