summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-03-05 22:54:48 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-08-04 00:15:09 +0200
commitd2271eb3008cf08ab60451631cf0da6f4a3576b7 (patch)
tree90f2cc09936a6b8b69fe1158d311ac5bc517aaa3 /servers
parentea4b8de2b4c06e6f18bf0470d716f787bddfecc3 (diff)
Improve error message when the requested V-Sync mode cannot be used
Diffstat (limited to 'servers')
-rw-r--r--servers/display_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/display_server.cpp b/servers/display_server.cpp
index e9bc28873b..2bd108e897 100644
--- a/servers/display_server.cpp
+++ b/servers/display_server.cpp
@@ -494,11 +494,11 @@ int64_t DisplayServer::window_get_native_handle(HandleType p_handle_type, Window
}
void DisplayServer::window_set_vsync_mode(DisplayServer::VSyncMode p_vsync_mode, WindowID p_window) {
- WARN_PRINT("Changing the VSync mode is not supported by this display server.");
+ WARN_PRINT("Changing the V-Sync mode is not supported by this display server.");
}
DisplayServer::VSyncMode DisplayServer::window_get_vsync_mode(WindowID p_window) const {
- WARN_PRINT("Changing the VSync mode is not supported by this display server.");
+ WARN_PRINT("Changing the V-Sync mode is not supported by this display server.");
return VSyncMode::VSYNC_ENABLED;
}