BASE: Always set a default value for the vsync config key
This commit is contained in:
parent
ce4f49966c
commit
65a09ee0fa
3 changed files with 1 additions and 2 deletions
|
@ -62,7 +62,6 @@ OpenGLSdlGraphicsManager::OpenGLSdlGraphicsManager(SdlEventSource *eventSource,
|
|||
_engineRequestedHeight(0) {
|
||||
ConfMan.registerDefault("antialiasing", 0);
|
||||
ConfMan.registerDefault("aspect_ratio", true);
|
||||
ConfMan.registerDefault("vsync", true);
|
||||
|
||||
_sideTextures[0] = _sideTextures[1] = nullptr;
|
||||
|
||||
|
|
|
@ -348,7 +348,6 @@ void OSystem_Android::initBackend() {
|
|||
ConfMan.set("fullscreen", "true");
|
||||
ConfMan.registerDefault("aspect_ratio", true);
|
||||
ConfMan.registerDefault("touchpad_mouse_mode", true);
|
||||
ConfMan.registerDefault("vsync", true);
|
||||
|
||||
ConfMan.setInt("autosave_period", 0);
|
||||
ConfMan.setBool("FM_high_quality", false);
|
||||
|
|
|
@ -260,6 +260,7 @@ void registerDefaults() {
|
|||
ConfMan.registerDefault("show_fps", false);
|
||||
ConfMan.registerDefault("dirtyrects", true);
|
||||
ConfMan.registerDefault("bpp", 0);
|
||||
ConfMan.registerDefault("vsync", true);
|
||||
// ResidualVM specific end
|
||||
|
||||
// Sound & Music
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue