diff options
| author | Juan Linietsky | 2017-02-06 00:38:39 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-02-06 00:38:39 -0300 |
| commit | 6f2e16306a6552d704fb2346c9abdd26e0e523b7 (patch) | |
| tree | e1fadf2a05d6f04675045b9e34128ed96628e07c /drivers/unix/os_unix.cpp | |
| parent | af3fabeb7745e6f7f4e7fe7a299bdd234fff26a6 (diff) | |
| download | godot-6f2e16306a6552d704fb2346c9abdd26e0e523b7.tar.gz godot-6f2e16306a6552d704fb2346c9abdd26e0e523b7.tar.zst godot-6f2e16306a6552d704fb2346c9abdd26e0e523b7.zip | |
Diffstat (limited to 'drivers/unix/os_unix.cpp')
| -rw-r--r-- | drivers/unix/os_unix.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp index 283cff048..cc69283f9 100644 --- a/drivers/unix/os_unix.cpp +++ b/drivers/unix/os_unix.cpp @@ -30,6 +30,7 @@ #ifdef UNIX_ENABLED +#include "servers/visual_server.h" #include "thread_posix.h" #include "semaphore_posix.h" @@ -478,6 +479,13 @@ String OS_Unix::get_data_dir() const { } +bool OS_Unix::check_feature_support(const String& p_feature) { + + return VisualServer::get_singleton()->has_os_feature(p_feature); + +} + + String OS_Unix::get_installed_templates_path() const { String p=get_global_settings_path(); if (p!="") |
