From c43ae7ed2caab261325a7d120f662716dbae00be Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Tue, 8 Jul 2025 15:42:18 +0800 Subject: [PATCH] [Misc] (Diligent/Present): hard code disable vsync for now --- MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp b/MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp index 3103daa5..347b220f 100644 --- a/MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp +++ b/MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp @@ -910,7 +910,7 @@ namespace MG_EGL::Diligent { MG_Diligent::g_pContext->Flush(); MG_Util::Debug::LogD("Presenting swap chain"); - MG_Diligent::g_pSwapChain->Present(); + MG_Diligent::g_pSwapChain->Present(0); MG_GL::GL::UpdateDefaultFramebuffer(); // if (MG_Diligent::IsInRenderPass) { // MG_Util::Debug::LogD("Ending current render pass.");