From cc93e1fd25f377aeaf4f98aac47f0ced6b4c131a Mon Sep 17 00:00:00 2001 From: David Siegel Date: Wed, 26 Apr 2023 12:13:41 +0200 Subject: [PATCH] Fix: Actually invoke the user-supplied function --- tiny_gltf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_gltf.h b/tiny_gltf.h index 76ebbfb..0f69ad2 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -2425,7 +2425,7 @@ static bool LoadExternalFile(std::vector *out, std::string *err, size_t file_size{0}; std::string _err; - bool ok = fs-GetFileSizeInBytes(&file_size, &_err, filepath, fs->user_data); + bool ok = fs->GetFileSizeInBytes(&file_size, &_err, filepath, fs->user_data); if (!ok) { if (_err.size()) { if (failMsgOut) {