progs/objviewer: close file (bug 26559)

This commit is contained in:
Brian Paul
2010-02-14 10:02:01 -07:00
parent e84eec0003
commit 291bd19a1a

View File

@@ -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);
}