Fix gdnative build when WebRTC module is disabled.
This commit is contained in:
parent
25d56e9666
commit
05261cceaf
@ -54,7 +54,7 @@ godot_error GDAPI godot_net_set_webrtc_library(const godot_net_webrtc_library *p
|
|||||||
#ifdef WEBRTC_GDNATIVE_ENABLED
|
#ifdef WEBRTC_GDNATIVE_ENABLED
|
||||||
return (godot_error)WebRTCPeerConnectionGDNative::set_default_library(p_lib);
|
return (godot_error)WebRTCPeerConnectionGDNative::set_default_library(p_lib);
|
||||||
#else
|
#else
|
||||||
return ERR_UNAVAILABLE;
|
return (godot_error)ERR_UNAVAILABLE;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user