summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-12-20 10:54:58 +0100
committerGitHub <noreply@github.com>2021-12-20 10:54:58 +0100
commit71616630e033670dc90c5d87fb65b758877f8ea1 (patch)
tree7f79af85f2e2b33355c8e052ee19ce4d0b53c3e0
parent51c5fa48abee5daa19f6b849aa6c3291bd295573 (diff)
parente880294d9f867ecde3da694b90793f78359ddae9 (diff)
Merge pull request #56048 from Faless/headless/os_features
-rw-r--r--servers/rendering/rasterizer_dummy.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/servers/rendering/rasterizer_dummy.h b/servers/rendering/rasterizer_dummy.h
index 3451ea2d39..01e96b3bc6 100644
--- a/servers/rendering/rasterizer_dummy.h
+++ b/servers/rendering/rasterizer_dummy.h
@@ -692,7 +692,9 @@ public:
virtual void update_memory_info() override {}
virtual uint64_t get_rendering_info(RS::RenderingInfo p_info) override { return 0; }
- bool has_os_feature(const String &p_feature) const override { return false; }
+ bool has_os_feature(const String &p_feature) const override {
+ return p_feature == "rgtc" || p_feature == "bptc" || p_feature == "s3tc" || p_feature == "etc" || p_feature == "etc2";
+ }
void update_dirty_resources() override {}