gl: Fix leaking texture views

This commit is contained in:
kd-11 2022-06-04 12:41:14 +03:00 committed by kd-11
parent 8185bfe893
commit f0a02e0d9d
2 changed files with 2 additions and 1 deletions

View File

@ -334,6 +334,7 @@ namespace gl
void ui_overlay_renderer::destroy()
{
temp_image_cache.clear();
temp_view_cache.clear();
resources.clear();
font_cache.clear();
view_cache.clear();

View File

@ -309,4 +309,4 @@ namespace gl
views.clear();
}
}
}
}