mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
fix correct parameters passed to StoreImage
This commit is contained in:
parent
f449e370db
commit
09c9bfb22d
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue