diff options
author | Daniel Borca <[email protected]> | 2004-06-15 09:06:53 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2004-06-15 09:06:53 +0000 |
commit | 09c9bfb22d40228a6d11319a20e6e82acfd363c7 (patch) | |
tree | 6f81e031407faaa66d38e321f36c972d16a992b8 /src/mesa/drivers | |
parent | f449e370db9ebca0799f7713b905399155196680 (diff) |
fix correct parameters passed to StoreImage
Diffstat (limited to 'src/mesa/drivers')
-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 167176c4d5a..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->TexFormat), 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->TexFormat), texImage->Data, + texImage->TexFormat, texImage->Data, 0, 0, 0, /* dstX/Y/Zoffset */ width * texelBytes, /* dstRowStride */ 0, /* dstImageStride */ |