From a6776e91c65e1f3ae8c2b099fe622c9554bdc639 Mon Sep 17 00:00:00 2001 From: GabsPuNs Date: Sat, 23 May 2026 00:55:25 -0400 Subject: [PATCH] Fix Vsync --- Minecraft.Client/Common/Consoles_App.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Minecraft.Client/Common/Consoles_App.cpp b/Minecraft.Client/Common/Consoles_App.cpp index d25b63f9..2a3443f6 100644 --- a/Minecraft.Client/Common/Consoles_App.cpp +++ b/Minecraft.Client/Common/Consoles_App.cpp @@ -1656,7 +1656,8 @@ void CMinecraftApp::ActionGameSettings(int iPad,eGameSetting eVal) break; case eGameSetting_Vsync: { - if ((GameSettingsA[iPad]->uiBitmaskValues & GAMESETTING_VSYNC) == 1) + int toggle = ((GameSettingsA[iPad]->uiBitmaskValues&GAMESETTING_VSYNC)>>24); + if (toggle == 1) RenderManager.EnableVsync(); else RenderManager.DisableVsync();