summaryrefslogtreecommitdiff
path: root/servers/display_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'servers/display_server.cpp')
-rw-r--r--servers/display_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/display_server.cpp b/servers/display_server.cpp
index 7bf5673663..8b5a965738 100644
--- a/servers/display_server.cpp
+++ b/servers/display_server.cpp
@@ -148,7 +148,7 @@ Point2i DisplayServer::mouse_get_position() const {
}
MouseButton DisplayServer::mouse_get_button_state() const {
- ERR_FAIL_V_MSG(MOUSE_BUTTON_NONE, "Mouse is not supported by this display server.");
+ ERR_FAIL_V_MSG(MouseButton::NONE, "Mouse is not supported by this display server.");
}
void DisplayServer::clipboard_set(const String &p_text) {