From 2e66f7eef79610675d66624aba97190ecca26299 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 12 May 2004 15:05:53 +0000 Subject: [PATCH] fix parameters to StoreImage calls --- src/mesa/drivers/dri/tdfx/tdfx_tex.c | 4 ++-- 1 file 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 */ -- 2.30.2