mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 07:11:49 +00:00
TINYGL: Free BlitImage memory on close.
This commit is contained in:
parent
97dc3881e0
commit
db8cee2a69
@ -237,6 +237,8 @@ void glInit(void *zbuffer1, int textureSize) {
|
||||
void glClose() {
|
||||
GLContext *c = gl_get_context();
|
||||
|
||||
Graphics::Internal::tglCleanupImages();
|
||||
|
||||
specbuf_cleanup(c);
|
||||
for (int i = 0; i < 3; i++)
|
||||
gl_free(c->matrix_stack[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user