fix bracket at wrong place

This commit is contained in:
Roland Scheidegger 2004-04-22 20:04:08 +00:00
parent 580548d046
commit 6d3dc3b8d6
1 changed files with 2 additions and 2 deletions

View File

@ -1010,9 +1010,8 @@ tdfxTexImage2D(GLcontext *ctx, GLenum target, GLint level,
texImage->Width * texelBytes,
0, /* dstImageStride */
format, type, pixels, packing);
}
#else
texImage->TexFormat->StoreImage(ctx, 2, texImage->Format,
texImage->TexFormat->StoreImage(ctx, 2, texImage->Format,
texImage->Format, texImage->Data,
0, 0, 0, /* dstX/Y/Zoffset */
width * texelBytes, /* dstRowStride */
@ -1020,6 +1019,7 @@ tdfxTexImage2D(GLcontext *ctx, GLenum target, GLint level,
width, height, 1,
format, type, pixels, packing);
#endif
}
RevalidateTexture(ctx, texObj);