From da5d7db6100955922e08ee99a02f827214ed8281 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Tue, 25 May 2021 07:58:49 +0100 Subject: Rename File::get_len() get_length() --- drivers/png/image_loader_png.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/png') 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 Error ImageLoaderPNG::load_image(Ref 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 file_buffer; Error err = file_buffer.resize(buffer_size); if (err) { -- cgit v1.2.3