From: Brian Paul Date: Fri, 4 Feb 2000 16:22:58 +0000 (+0000) Subject: pass IntFormat, not Format to fxTexGetFormat X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b13fd0bc9e36379af82f100f8403990b98d791c4;p=mesa.git pass IntFormat, not Format to fxTexGetFormat --- diff --git a/src/mesa/drivers/glide/fxsetup.c b/src/mesa/drivers/glide/fxsetup.c index e13e8c3b054..306353930c3 100644 --- a/src/mesa/drivers/glide/fxsetup.c +++ b/src/mesa/drivers/glide/fxsetup.c @@ -109,7 +109,7 @@ static void fxTexValidate(GLcontext *ctx, struct gl_texture_object *tObj) else FX_smallLodLog2(ti->info)=FX_largeLodLog2(ti->info); - fxTexGetFormat(tObj->Image[minl]->Format,&(ti->info.format),&(ti->baseLevelInternalFormat)); + fxTexGetFormat(tObj->Image[minl]->IntFormat,&(ti->info.format),&(ti->baseLevelInternalFormat)); switch (tObj->WrapS) { case GL_CLAMP_TO_EDGE: