projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e84eec0
)
progs/objviewer: close file (bug 26559)
author
Brian Paul
<brianp@vmware.com>
Sun, 14 Feb 2010 17:02:01 +0000
(10:02 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sun, 14 Feb 2010 17:05:42 +0000
(10:05 -0700)
progs/objviewer/glm.c
patch
|
blob
|
history
diff --git
a/progs/objviewer/glm.c
b/progs/objviewer/glm.c
index 7f36cdf28e4374c2118f1cb0141480abbc95c86c..7c964e489d18ddab40d1e0f0b72ad84dc3225c38 100644
(file)
--- a/
progs/objviewer/glm.c
+++ b/
progs/objviewer/glm.c
@@
-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);
}