TINYGL: Free disposed textures before images.

Reusing function already defined in zdirtyrect.cpp doing both.
This commit is contained in:
Vincent Pelletier 2016-07-25 01:21:35 +02:00
parent 47a1e826e7
commit a577b4c6a6
2 changed files with 2 additions and 1 deletions

View file

@ -245,7 +245,7 @@ void glClose() {
GLContext *c = gl_get_context();
tglDisposeDrawCallLists(c);
Graphics::Internal::tglCleanupImages();
tglDisposeResources(c);
specbuf_cleanup(c);
for (int i = 0; i < 3; i++)