summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-05-12 15:05:53 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-05-12 15:05:53 +0000
commit2e66f7eef79610675d66624aba97190ecca26299 (patch)
tree4bb65f0198a116fe20479a34feb69a2d6d787d71 /src/mesa/drivers
parent71e373f18648584ade680bca7840a57e0d3cb725 (diff)
fix parameters to StoreImage calls
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/tdfx/tdfx_tex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_tex.c b/src/mesa/drivers/dri/tdfx/tdfx_tex.c
index 2a386a7c03..fee24639ce 100644
--- a/src/mesa/drivers/dri/tdfx/tdfx_tex.c
+++ b/src/mesa/drivers/dri/tdfx/tdfx_tex.c
@@ -1051,7 +1051,7 @@ tdfxTexSubImage2D(GLcontext *ctx, GLenum target, GLint level,
}
texImage->TexFormat->StoreImage(ctx, 2, texImage->Format,
- &texImage->Format, texImage->Data,
+ texImage->TexFormat, texImage->Data,
0, 0, 0, /* dstX/Y/Zoffset */
width * texelBytes, /* dstRowStride */
0, /* dstImageStride */
@@ -1083,7 +1083,7 @@ tdfxTexSubImage2D(GLcontext *ctx, GLenum target, GLint level,
else {
/* no rescaling needed */
texImage->TexFormat->StoreImage(ctx, 2, texImage->Format,
- &texImage->Format, texImage->Data,
+ texImage->TexFormat, texImage->Data,
xoffset, yoffset, 0,
mml->width * texelBytes, /* dstRowStride */
0, /* dstImageStride */