summaryrefslogtreecommitdiff
path: root/src/net/WebRTCDataChannelNative.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-09-11 18:26:08 +0200
committerGitHub <noreply@github.com>2022-09-11 18:26:08 +0200
commit822e0532c23354c02fcdbdef90dc70236ece6255 (patch)
tree5eebac3b7ac82500601084e883086139bc29b01b /src/net/WebRTCDataChannelNative.cpp
parent2ad1bf171653c3fb72d8f987b403ab65c9ad6a46 (diff)
parentd8cbd14a28d8c3c526c8ba1759b4052cbfead2c9 (diff)
downloadfork-godot-webrtc-native-822e0532c23354c02fcdbdef90dc70236ece6255.tar.gz
fork-godot-webrtc-native-822e0532c23354c02fcdbdef90dc70236ece6255.tar.bz2
fork-godot-webrtc-native-822e0532c23354c02fcdbdef90dc70236ece6255.zip
Merge pull request #60 from Faless/bump/alpha16
Update to Godot alpha16
Diffstat (limited to 'src/net/WebRTCDataChannelNative.cpp')
-rw-r--r--src/net/WebRTCDataChannelNative.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/WebRTCDataChannelNative.cpp b/src/net/WebRTCDataChannelNative.cpp
index 4639021..c594dd6 100644
--- a/src/net/WebRTCDataChannelNative.cpp
+++ b/src/net/WebRTCDataChannelNative.cpp
@@ -72,7 +72,7 @@ godot_int get_max_packet_size_wdc(const void *user) {
}
void set_write_mode_wdc(void *user, godot_int write_mode) {
- ((WebRTCDataChannelNative *)user)->_set_write_mode(write_mode);
+ ((WebRTCDataChannelNative *)user)->_set_write_mode((godot::WebRTCDataChannel::WriteMode)write_mode);
}
godot_int get_write_mode_wdc(const void *user) {