mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-06-09 03:22:39 +00:00
Remove VSync test.
This commit is contained in:
@@ -1637,7 +1637,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
|
||||
// Toggle fullscreen
|
||||
const unsigned char fullscreen = app.GetGameSettings(primaryPad, eGameSetting_Fullscreen);
|
||||
const unsigned char vsync = app.GetGameSettings(primaryPad, eGameSetting_Vsync);
|
||||
//const unsigned char vsync = app.GetGameSettings(primaryPad, eGameSetting_Vsync);
|
||||
|
||||
if (fullscreen && !g_isFullscreen)
|
||||
EnableFullscreen();
|
||||
@@ -1646,8 +1646,8 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
|
||||
if (g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_FULLSCREEN))
|
||||
{
|
||||
//app.SetGameSettings(primaryPad, eGameSetting_Fullscreen, fullscreen ? 0 : 1);
|
||||
app.SetGameSettings(primaryPad, eGameSetting_Vsync, vsync ? 0 : 1);
|
||||
app.SetGameSettings(primaryPad, eGameSetting_Fullscreen, fullscreen ? 0 : 1);
|
||||
//app.SetGameSettings(primaryPad, eGameSetting_Vsync, vsync ? 0 : 1);
|
||||
}
|
||||
|
||||
// Open chat
|
||||
|
||||
Reference in New Issue
Block a user