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) {