diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-07-21 09:28:42 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-07-21 09:28:42 +0200 |
commit | 2642f0e4fcbb24aeeb585e2e01cc08094770ea8a (patch) | |
tree | a7a4074f45931e5cd2b85e1438358e9abcbf9284 | |
parent | a255b186bc2c09a7e746bf2936ab7f28c2f7f72f (diff) |
WebXR: Fix build after SNAME addition
Was missed as WebXR build was disabled prior to #50563.
-rw-r--r-- | modules/webxr/webxr_interface_js.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/webxr/webxr_interface_js.cpp b/modules/webxr/webxr_interface_js.cpp index 7945334491..099e769303 100644 --- a/modules/webxr/webxr_interface_js.cpp +++ b/modules/webxr/webxr_interface_js.cpp @@ -103,7 +103,7 @@ extern "C" EMSCRIPTEN_KEEPALIVE void _emwebxr_on_input_event(char *p_signal_name ERR_FAIL_COND(interface.is_null()); StringName signal_name = StringName(p_signal_name); - interface->emit_signal(SNAME(signal_name), p_input_source + 1); + interface->emit_signal(signal_name, p_input_source + 1); } extern "C" EMSCRIPTEN_KEEPALIVE void _emwebxr_on_simple_event(char *p_signal_name) { @@ -114,7 +114,7 @@ extern "C" EMSCRIPTEN_KEEPALIVE void _emwebxr_on_simple_event(char *p_signal_nam ERR_FAIL_COND(interface.is_null()); StringName signal_name = StringName(p_signal_name); - interface->emit_signal(SNAME(signal_name)); + interface->emit_signal(signal_name); } void WebXRInterfaceJS::is_session_supported(const String &p_session_mode) { |