From: Adam Jackson Date: Mon, 14 Jun 2004 23:38:00 +0000 (+0000) Subject: _really_ fix parameters to StoreImage calls. X-Git-Tag: mesa-7.8~10911 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f449e370db9ebca0799f7713b905399155196680;p=platform%2Fupstream%2Fmesa.git _really_ fix parameters to StoreImage calls. --- diff --git a/src/mesa/drivers/dri/tdfx/tdfx_tex.c b/src/mesa/drivers/dri/tdfx/tdfx_tex.c index 771e2bc..167176c 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 */