enable vsync to prevent excess resource usage

This commit is contained in:
im-tem
2025-08-15 12:41:03 +03:00
parent b3f99616c9
commit 5b4b0b2be5

View File

@@ -96,6 +96,8 @@ void init(State* self)
glDisable(GL_DEPTH_TEST);
glDisable(GL_LINE_SMOOTH);
SDL_GL_SetSwapInterval(1);
resources_init(&self->resources);
dialog_init(&self->dialog, self->window);
clipboard_init(&self->clipboard, &self->anm2);