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:
parent
f2929d915d
commit
ea74eec6f8
@ -150,6 +150,7 @@ void GameSettings::Initialize(){
|
|||||||
if(loadSystemFile.HasProperty("VSync")){
|
if(loadSystemFile.HasProperty("VSync")){
|
||||||
GameSettings::SetVSync(loadSystemFile["VSync"].GetBool());
|
GameSettings::SetVSync(loadSystemFile["VSync"].GetBool());
|
||||||
Component<Checkbox>(SETTINGS,"VSync Checkbox")->SetChecked(loadSystemFile["VSync"].GetBool());
|
Component<Checkbox>(SETTINGS,"VSync Checkbox")->SetChecked(loadSystemFile["VSync"].GetBool());
|
||||||
|
game->SetVSync(GameSettings::VSyncEnabled());
|
||||||
}
|
}
|
||||||
if(loadSystemFile.HasProperty("Controller Icons")){
|
if(loadSystemFile.HasProperty("Controller Icons")){
|
||||||
const int maxIterations=10;
|
const int maxIterations=10;
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
Equip Gear using Start menu tutorial
|
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)
|
Make another actions config file for the main build (The app # is different)
|
Loading…
x
Reference in New Issue
Block a user