turned on vsync with sdl
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user