summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-12 23:39:17 +0100
committerGitHub <noreply@github.com>2021-11-12 23:39:17 +0100
commit5aae92f069b47c040d93e5edba2aad5b104fd1a5 (patch)
treee6d222c6488c1e4f1a9e4ffa68c1404473a00843 /servers
parent4f85cad013c5469a39287e9aa474735f950e302c (diff)
parent3c0fdcc8acfadb124fbfa914532868948561c351 (diff)
Merge pull request #51684 from aaronfranke/enum-class
Diffstat (limited to 'servers')
-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) {