progs/objviewer: close file (bug 26559)
This commit is contained in:
parent
e84eec0003
commit
291bd19a1a
|
@ -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…
Reference in New Issue