summaryrefslogtreecommitdiff
path: root/scene/resources/dynamic_font_stb.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-06 19:45:14 +0200
committerGitHub <noreply@github.com>2019-07-06 19:45:14 +0200
commit8234f5c5a4a51bd67e687556bd54962b2e3f1489 (patch)
treea05fa9e7249febb9093885ddc21da1cd967be314 /scene/resources/dynamic_font_stb.cpp
parent0b6b49a897b35bec53765e1288c32d57afa1a293 (diff)
parent4e4697b1c481094949165fa9edbe6aeebcfcf3b4 (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.cpp2
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) {