Set VSync once the settings loads, since emscripten builds do not respect the vsync parameter at the very start of launching.

This commit is contained in:
sigonasr2 2024-03-26 22:23:50 -05:00
parent 05abf6c3e9
commit a63f5f9b6c
2 changed files with 1 additions and 2 deletions

View File

@ -150,6 +150,7 @@ void GameSettings::Initialize(){
if(loadSystemFile.HasProperty("VSync")){
GameSettings::SetVSync(loadSystemFile["VSync"].GetBool());
Component<Checkbox>(SETTINGS,"VSync Checkbox")->SetChecked(loadSystemFile["VSync"].GetBool());
game->SetVSync(GameSettings::VSyncEnabled());
}
if(loadSystemFile.HasProperty("Controller Icons")){
const int maxIterations=10;

View File

@ -1,7 +1,5 @@
Equip Gear using Start menu tutorial
Manual aim does not override movement choice.
============================================
Make another actions config file for the main build (The app # is different)