TINYGL: Free disposed textures before images.
Reusing function already defined in zdirtyrect.cpp doing both.
This commit is contained in:
parent
47a1e826e7
commit
a577b4c6a6
2 changed files with 2 additions and 1 deletions
|
@ -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++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue