From 52a256562f3ff1ff8c2302e816cbb5f601dd53cb Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Sun, 1 Mar 2026 20:12:58 +0800 Subject: [PATCH] feat: disable vsync --- Minecraft.Client/Windows64/Windows64_Minecraft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp index 4002fc3b..4cd10fa2 100644 --- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp +++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp @@ -257,7 +257,7 @@ HRESULT InitD3D( IDirect3DDevice9 **ppDevice, pd3dPP->EnableAutoDepthStencil = TRUE; pd3dPP->AutoDepthStencilFormat = D3DFMT_D24S8; pd3dPP->SwapEffect = D3DSWAPEFFECT_DISCARD; - pd3dPP->PresentationInterval = D3DPRESENT_INTERVAL_ONE; + pd3dPP->PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE; //pd3dPP->Flags = D3DPRESENTFLAG_NO_LETTERBOX; //ERR[D3D]: Can't set D3DPRESENTFLAG_NO_LETTERBOX when wide-screen is enabled // in the launcher/dashboard.