summaryrefslogtreecommitdiff
path: root/platform/windows
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-10-31 19:12:18 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-11-01 11:04:58 +0200
commit060d62e0dc094ac7c4f15020c6921ac582f29977 (patch)
treeb5cb03793c7f9d17b386a5c919600831cc5e9323 /platform/windows
parente6751549cf7247965d1744b8c464f5e901006f21 (diff)
Load and use system emoji font in the editor.
Diffstat (limited to 'platform/windows')
-rw-r--r--platform/windows/os_windows.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index d95a88fac1..36fd86c4f5 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -1181,7 +1181,14 @@ String OS_Windows::get_unique_id() const {
}
bool OS_Windows::_check_internal_feature_support(const String &p_feature) {
- return p_feature == "pc";
+ if (p_feature == "system_fonts") {
+ return true;
+ }
+ if (p_feature == "pc") {
+ return true;
+ }
+
+ return false;
}
void OS_Windows::disable_crash_handler() {