TINYGL: make consistent between allocation and free resource
This commit is contained in:
parent
6afed33017
commit
f039ccd474
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue