summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/tdfx
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-05-12 15:05:53 +0000
committerBrian Paul <[email protected]>2004-05-12 15:05:53 +0000
commit2e66f7eef79610675d66624aba97190ecca26299 (patch)
tree4bb65f0198a116fe20479a34feb69a2d6d787d71 /src/mesa/drivers/dri/tdfx
parent71e373f18648584ade680bca7840a57e0d3cb725 (diff)
fix parameters to StoreImage calls
Diffstat (limited to 'src/mesa/drivers/dri/tdfx')
-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 2a386a7c036..fee24639ce5 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 */