diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-18 14:29:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 14:29:58 +0100 |
commit | 5c8bd6fd71ac289415f0ff670442cd52bdc0d52b (patch) | |
tree | f2b2b3c3e1f1d67b1df414d08f054c2f1f8c8331 /scene/gui | |
parent | da26fcc91a5643d592067d44d6cace34295fadda (diff) | |
parent | f19cd44346a68a649cabfe85cc3ba7a44ceb0ca4 (diff) |
Merge pull request #58233 from bruvzg/gde_ts
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/label.cpp | 6 | ||||
-rw-r--r-- | scene/gui/line_edit.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp index 419901d5ea..cd6fc168c2 100644 --- a/scene/gui/label.cpp +++ b/scene/gui/label.cpp @@ -115,7 +115,7 @@ void Label::_shape() { if (lines_dirty) { for (int i = 0; i < lines_rid.size(); i++) { - TS->free(lines_rid[i]); + TS->free_rid(lines_rid[i]); } lines_rid.clear(); @@ -960,8 +960,8 @@ Label::Label(const String &p_text) { Label::~Label() { for (int i = 0; i < lines_rid.size(); i++) { - TS->free(lines_rid[i]); + TS->free_rid(lines_rid[i]); } lines_rid.clear(); - TS->free(text_rid); + TS->free_rid(text_rid); } diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index da39a3d387..e063d3aeba 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -2458,5 +2458,5 @@ LineEdit::LineEdit(const String &p_placeholder) { } LineEdit::~LineEdit() { - TS->free(text_rid); + TS->free_rid(text_rid); } |