OSDN Git Service
(root)
/
android-x86
/
external-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
7f36cdf
..
7c964e4
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);
}