fix correct parameters passed to StoreImage
authorDaniel Borca <dborca@users.sourceforge.net>
Tue, 15 Jun 2004 09:06:53 +0000 (09:06 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Tue, 15 Jun 2004 09:06:53 +0000 (09:06 +0000)
src/mesa/drivers/dri/tdfx/tdfx_tex.c

index 167176c4d5a426b38530a503ee4356cb524ba46e..771e2bcadbcbe138e88f2ead850da2acb08e9bdf 100644 (file)
@@ -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 */