2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 02:27:43 +00:00

Fix shutdown ordering issues

This commit is contained in:
2021-05-30 16:59:19 -04:00
parent 2894ddb768
commit 39f4c3e114
2 changed files with 8 additions and 0 deletions

View File

@@ -143,6 +143,12 @@ void ImGuiEngine::Shutdown() {
for (auto& item : ShaderDataBindings) {
item.reset();
}
for (auto& item : Textures) {
item.reset();
}
VertexBuffer.reset();
IndexBuffer.reset();
UniformBuffer.reset();
ShaderPipeline.reset();
}