From b13fd0bc9e36379af82f100f8403990b98d791c4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 4 Feb 2000 16:22:58 +0000 Subject: [PATCH] pass IntFormat, not Format to fxTexGetFormat --- src/mesa/drivers/glide/fxsetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2