}
texImage->TexFormat = mesaTexFormat;
- texImage->Type = 0; /* indicates a driver-specific format */
/* allocate storage for texture image */
texImage->Data = MALLOC(mml->width * mml->height * texelSize);
* a simpler format now.
*/
- GLenum simpleFormat = _mesa_base_tex_format(ctx, texImage->IntFormat);
+ GLenum simpleFormat = _mesa_base_tex_format(ctx, texImage->TexFormat->IntFormat);
GLint comps = _mesa_components_in_format(simpleFormat);
GLubyte *tempImage;
GLboolean success;
else
FX_smallLodLog2(ti->info) = FX_largeLodLog2(ti->info);
- fxTexGetFormat(tObj->Image[minl]->IntFormat, &(ti->info.format),
+ fxTexGetFormat(tObj->Image[minl]->TexFormat->IntFormat, &(ti->info.format),
&(ti->baseLevelInternalFormat));
switch (tObj->WrapS) {