mesa: add additional missing z formats for render to texture
[mesa.git] / progs / objviewer / glm.c
index 7f36cdf28e4374c2118f1cb0141480abbc95c86c..7c964e489d18ddab40d1e0f0b72ad84dc3225c38 100644 (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);
 }