mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 14:28:05 +02:00
progs/objviewer: close file (bug 26559)
This commit is contained in:
parent
e84eec0003
commit
291bd19a1a
1 changed files with 2 additions and 0 deletions
|
|
@ -421,6 +421,7 @@ _glmReadMTL(GLMmodel* model, char* name)
|
|||
break;
|
||||
}
|
||||
}
|
||||
fclose(file);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -475,6 +476,7 @@ _glmWriteMTL(GLMmodel* model, char* modelpath, char* mtllibname)
|
|||
fprintf(file, "Ns %f\n", material->shininess);
|
||||
fprintf(file, "\n");
|
||||
}
|
||||
fclose(file);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue