pass IntFormat, not Format to fxTexGetFormat
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 4 Feb 2000 16:22:58 +0000 (16:22 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 4 Feb 2000 16:22:58 +0000 (16:22 +0000)
src/mesa/drivers/glide/fxsetup.c

index e13e8c3b0549d2ca5a905c773abb39d914da8c90..306353930c3ac8dbb1a6149a12276f3b98f502e9 100644 (file)
@@ -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: