mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-15 17:38:14 +00:00
Fix Vsync
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user