Browse Source

pass IntFormat, not Format to fxTexGetFormat

tags/mesa_3_3
Brian Paul 27 years ago
parent
commit
b13fd0bc9e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/drivers/glide/fxsetup.c

+ 1
- 1
src/mesa/drivers/glide/fxsetup.c View 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:

Loading…
Cancel
Save