summaryrefslogtreecommitdiff
path: root/doc/classes/OS.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-01-10 10:04:55 +0100
committerGitHub <noreply@github.com>2020-01-10 10:04:55 +0100
commit83d950b58e25c401f21b0695a59002fbf6198083 (patch)
tree270ca14093e73cb7ece919092c68538c5d537e49 /doc/classes/OS.xml
parent9a81b36da147230995fc3f8fdd467d2d16fb456a (diff)
parent9600fd5dde1f85b7dd2dd8558d52ff86b18651e7 (diff)
Merge pull request #34968 from Calinou/enable-vsync-via-compositor
Enable Vsync via Compositor by default
Diffstat (limited to 'doc/classes/OS.xml')
-rw-r--r--doc/classes/OS.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml
index 71d0c1a6fe..3550ef6b5f 100644
--- a/doc/classes/OS.xml
+++ b/doc/classes/OS.xml
@@ -937,8 +937,9 @@
<member name="vsync_enabled" type="bool" setter="set_use_vsync" getter="is_vsync_enabled" default="true">
If [code]true[/code], vertical synchronization (Vsync) is enabled.
</member>
- <member name="vsync_via_compositor" type="bool" setter="set_vsync_via_compositor" getter="is_vsync_via_compositor_enabled" default="false">
+ <member name="vsync_via_compositor" type="bool" setter="set_vsync_via_compositor" getter="is_vsync_via_compositor_enabled" default="true">
If [code]true[/code] and [code]vsync_enabled[/code] is true, the operating system's window compositor will be used for vsync when the compositor is enabled and the game is in windowed mode.
+ [b]Note:[/b] This property is only implemented on Windows.
</member>
<member name="window_borderless" type="bool" setter="set_borderless_window" getter="get_borderless_window" default="false">
If [code]true[/code], removes the window frame.