crash issues + fixes

This commit is contained in:
shweet committed 2026-05-22 09:53:42 -04:00
1 parent 4db1cfafb6
commit a670142490
5 files changed
+33 -17

No files matched your search

+2
View File
@@ -10,6 +10,7 @@
#include "log.hpp"
#include "path.hpp"
#include "strings.hpp"
#include "texture.hpp"
#include "toast.hpp"
#include "util/imgui/shortcut.hpp"
@@ -207,6 +208,7 @@ namespace anm2ed
ImGui::Render();
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
SDL_GL_SwapWindow(window);
resource::Texture::garbage_collect();
SDL_GL_SetSwapInterval(settings.isVsync);
}