Merge pull request #56048 from Faless/headless/os_features
This commit is contained in:
commit
71616630e0
1 changed files with 3 additions and 1 deletions
|
@ -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 {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue