crash issues + fixes
This commit is contained in:
1 parent
4db1cfafb6
commit
a670142490
5 files changed
+33
-17
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user