diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-13 12:55:56 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-13 12:55:56 +0200 |
commit | c6f1f614bbab9334675026fe21f5af4951b9c890 (patch) | |
tree | 4e3496ff8e519efa17bba1f145910c07dd08a617 | |
parent | bcaaf2b5c50922490ed7ee950c31da00138778d7 (diff) | |
parent | 7331187090c5236a72d80709c313502cdfc8e9e9 (diff) | |
download | redot-engine-c6f1f614bbab9334675026fe21f5af4951b9c890.tar.gz |
Merge pull request #91900 from AThousandShips/display_server_fix
Fix `DisplayServer` overrides
-rw-r--r-- | servers/display_server_headless.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/servers/display_server_headless.h b/servers/display_server_headless.h index 87ebb911fa..38baa6a4fa 100644 --- a/servers/display_server_headless.h +++ b/servers/display_server_headless.h @@ -168,11 +168,10 @@ public: Error file_dialog_with_options_show(const String &p_title, const String &p_current_directory, const String &p_root, const String &p_filename, bool p_show_hidden, FileDialogMode p_mode, const Vector<String> &p_filters, const TypedArray<Dictionary> &p_options, const Callable &p_callback) override { return ERR_UNAVAILABLE; } void release_rendering_thread() override {} - void make_rendering_thread() override {} void swap_buffers() override {} - IndicatorID create_status_indicator(const Ref<Image> &p_icon, const String &p_tooltip, const Callable &p_callback) override { return INVALID_INDICATOR_ID; } - void status_indicator_set_icon(IndicatorID p_id, const Ref<Image> &p_icon) override {} + IndicatorID create_status_indicator(const Ref<Texture2D> &p_icon, const String &p_tooltip, const Callable &p_callback) override { return INVALID_INDICATOR_ID; } + void status_indicator_set_icon(IndicatorID p_id, const Ref<Texture2D> &p_icon) override {} void status_indicator_set_tooltip(IndicatorID p_id, const String &p_tooltip) override {} void status_indicator_set_callback(IndicatorID p_id, const Callable &p_callback) override {} void delete_status_indicator(IndicatorID p_id) override {} |