diff options
Diffstat (limited to 'core/io/image_loader.h')
-rw-r--r-- | core/io/image_loader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/image_loader.h b/core/io/image_loader.h index ac51f13376..e9b434522d 100644 --- a/core/io/image_loader.h +++ b/core/io/image_loader.h @@ -91,7 +91,7 @@ class ImageLoader { protected: public: - static Error load_image(String p_file, Ref<Image> p_image, Ref<FileAccess> p_custom = Ref<FileAccess>(), BitField<ImageFormatLoader::LoaderFlags> p_flags = ImageFormatLoader::FLAG_NONE, float p_scale = 1.0); + static Error load_image(const String &p_file, Ref<Image> p_image, Ref<FileAccess> p_custom = Ref<FileAccess>(), BitField<ImageFormatLoader::LoaderFlags> p_flags = ImageFormatLoader::FLAG_NONE, float p_scale = 1.0); static void get_recognized_extensions(List<String> *p_extensions); static Ref<ImageFormatLoader> recognize(const String &p_extension); |