diff options
-rw-r--r-- | src/mesa/drivers/glide/fxsetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |