TINYGL: make consistent between allocation and free resource

This commit is contained in:
Pawel Kolodziejski 2014-12-27 23:27:27 +01:00
parent 6afed33017
commit f039ccd474

View file

@ -238,7 +238,7 @@ void glClose() {
endSharedState(c); endSharedState(c);
gl_free(c->vertex); gl_free(c->vertex);
gl_free(c); delete c;
} }
} // end of namespace TinyGL } // end of namespace TinyGL