From: Brian Paul Date: Wed, 12 May 2004 15:05:53 +0000 (+0000) Subject: fix parameters to StoreImage calls X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e66f7eef79610675d66624aba97190ecca26299;p=mesa.git 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 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 */