diff options
author | Brian Paul <[email protected]> | 2004-05-13 18:07:30 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-05-13 18:07:30 +0000 |
commit | 7d749ec9beaba62c5d5264eb9657cd9651bd4769 (patch) | |
tree | 41963434407de4eb9990efc00066393bcdb0aaca /src/mesa/drivers/dri/tdfx | |
parent | defb035b6cf03c555318d9dd48864242ed036f39 (diff) |
fix parameters to StoreImage()
Diffstat (limited to 'src/mesa/drivers/dri/tdfx')
-rw-r--r-- | src/mesa/drivers/dri/tdfx/tdfx_tex.c | 4 |
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 fee24639ce5..771e2bcadbc 100644 --- a/src/mesa/drivers/dri/tdfx/tdfx_tex.c +++ b/src/mesa/drivers/dri/tdfx/tdfx_tex.c @@ -963,7 +963,7 @@ tdfxTexImage2D(GLcontext *ctx, GLenum target, GLint level, } /* unpack image, apply transfer ops and store in tempImage */ texImage->TexFormat->StoreImage(ctx, 2, texImage->Format, - &texImage->Format, tempImage, + texImage->TexFormat, tempImage, 0, 0, 0, /* dstX/Y/Zoffset */ width * texelBytes, /* dstRowStride */ 0, /* dstImageStride */ @@ -993,7 +993,7 @@ tdfxTexImage2D(GLcontext *ctx, GLenum target, GLint level, } /* unpack image, apply transfer ops and store in texImage->Data */ 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 */ |