diff --git a/src/td/input/Display.cpp b/src/td/input/Display.cpp index d744d10..c854cd1 100644 --- a/src/td/input/Display.cpp +++ b/src/td/input/Display.cpp @@ -81,6 +81,9 @@ Display::Display(int a_Width, int a_Height, const std::string& a_Title) : // WindowResizeEvent(WindowWidth, WindowHeight); + // vsync + SDL_GL_SetSwapInterval(1); + // Setup Dear ImGui context IMGUI_CHECKVERSION(); ImGui::CreateContext();