aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client
diff options
context:
space:
mode:
authordaoge_cmd <3523206925@qq.com>2026-03-01 20:12:58 +0800
committerdaoge_cmd <3523206925@qq.com>2026-03-01 20:12:58 +0800
commit52a256562f3ff1ff8c2302e816cbb5f601dd53cb (patch)
treea6f48991d6f5f71996c4ef64842927446b37d4fd /Minecraft.Client
parent2aee607d6c474ce2a36fa9a37dab291a687f524f (diff)
feat: disable vsync
Diffstat (limited to 'Minecraft.Client')
-rw-r--r--Minecraft.Client/Windows64/Windows64_Minecraft.cpp2
1 files changed, 1 insertions, 1 deletions
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.