You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add nothreads feature tag to signify lack of THREADS_ENABLED
This commit is contained in:
@@ -513,6 +513,10 @@ bool OS::has_feature(const String &p_feature) {
|
||||
if (p_feature == "threads") {
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
if (p_feature == "nothreads") {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (_check_internal_feature_support(p_feature)) {
|
||||
|
||||
Reference in New Issue
Block a user