mirror of
https://github.com/godotengine/godot.git
synced 2025-01-06 17:37:18 +08:00
Fix gdnative build when WebRTC module is disabled.
This commit is contained in:
parent
f39b46f7c1
commit
10e69f5fa9
@ -54,7 +54,7 @@ godot_error GDAPI godot_net_set_webrtc_library(const godot_net_webrtc_library *p
|
||||
#ifdef WEBRTC_GDNATIVE_ENABLED
|
||||
return (godot_error)WebRTCPeerConnectionGDNative::set_default_library(p_lib);
|
||||
#else
|
||||
return ERR_UNAVAILABLE;
|
||||
return (godot_error)ERR_UNAVAILABLE;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user