summaryrefslogtreecommitdiff
path: root/drivers/png
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2021-05-25 07:58:49 +0100
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2021-05-25 11:54:28 +0100
commitda5d7db6100955922e08ee99a02f827214ed8281 (patch)
tree2e6c19a493c20e356b01a2a79f10e63c6e75ff56 /drivers/png
parent313e1f62bb4ed85041bcd9290ec76660878fcd6b (diff)
Rename File::get_len() get_length()
Diffstat (limited to 'drivers/png')
-rw-r--r--drivers/png/image_loader_png.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/png/image_loader_png.cpp b/drivers/png/image_loader_png.cpp
index 41554bc93f..8b2e786146 100644
--- a/drivers/png/image_loader_png.cpp
+++ b/drivers/png/image_loader_png.cpp
@@ -37,7 +37,7 @@
#include <string.h>
Error ImageLoaderPNG::load_image(Ref<Image> p_image, FileAccess *f, bool p_force_linear, float p_scale) {
- const uint64_t buffer_size = f->get_len();
+ const uint64_t buffer_size = f->get_length();
Vector<uint8_t> file_buffer;
Error err = file_buffer.resize(buffer_size);
if (err) {