summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-01-09 22:20:00 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-01-09 22:22:11 +0100
commit9600fd5dde1f85b7dd2dd8558d52ff86b18651e7 (patch)
tree37ff0bc647f116365c08306622501f4a87c2334c /core
parent76678b2609921f27f52c1a2e2bd62b8d2a27bb4b (diff)
Enable Vsync via Compositor by default
This feature was added in #33414 but it was disabled by default. Now that it got some testing, it's probably safe to enable it by default.
Diffstat (limited to 'core')
-rw-r--r--core/bind/core_bind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp
index 0eacffeb88..4586dc6d14 100644
--- a/core/bind/core_bind.cpp
+++ b/core/bind/core_bind.cpp
@@ -1393,7 +1393,7 @@ void _OS::_bind_methods() {
ADD_PROPERTY_DEFAULT("current_screen", 0);
ADD_PROPERTY_DEFAULT("exit_code", 0);
ADD_PROPERTY_DEFAULT("vsync_enabled", true);
- ADD_PROPERTY_DEFAULT("vsync_via_compositor", false);
+ ADD_PROPERTY_DEFAULT("vsync_via_compositor", true);
ADD_PROPERTY_DEFAULT("low_processor_usage_mode", false);
ADD_PROPERTY_DEFAULT("low_processor_usage_mode_sleep_usec", 6900);
ADD_PROPERTY_DEFAULT("keep_screen_on", true);