diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-06 19:45:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-06 19:45:14 +0200 |
commit | 8234f5c5a4a51bd67e687556bd54962b2e3f1489 (patch) | |
tree | a05fa9e7249febb9093885ddc21da1cd967be314 /scene/resources/dynamic_font_stb.cpp | |
parent | 0b6b49a897b35bec53765e1288c32d57afa1a293 (diff) | |
parent | 4e4697b1c481094949165fa9edbe6aeebcfcf3b4 (diff) |
Merge pull request #30206 from ibrahn/poolvector-access-close
Added release function to PoolVector::Access.
Diffstat (limited to 'scene/resources/dynamic_font_stb.cpp')
-rw-r--r-- | scene/resources/dynamic_font_stb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/dynamic_font_stb.cpp b/scene/resources/dynamic_font_stb.cpp index 3b44f05b94..ccff617a16 100644 --- a/scene/resources/dynamic_font_stb.cpp +++ b/scene/resources/dynamic_font_stb.cpp @@ -55,7 +55,7 @@ void DynamicFontData::lock() { void DynamicFontData::unlock() { - fr = PoolVector<uint8_t>::Read(); + fr.release(); } void DynamicFontData::set_font_data(const PoolVector<uint8_t> &p_font) { |