turned on vsync with sdl

This commit is contained in:
2026-03-09 21:30:25 +01:00
parent 880630790b
commit 91e7d5a3f9

View File

@@ -59,6 +59,8 @@ bool Application::Init() {
LOG_INFO("SDL renderer created"); LOG_INFO("SDL renderer created");
} }
SDL_SetRenderVSync(m_Renderer, 1);
// Imgui init // Imgui init
IMGUI_CHECKVERSION(); IMGUI_CHECKVERSION();
ImGui::CreateContext(); ImGui::CreateContext();