diff options
Diffstat (limited to 'core/io/resource_loader.h')
-rw-r--r-- | core/io/resource_loader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/io/resource_loader.h b/core/io/resource_loader.h index 3c32a19066..0ab81cd0a8 100644 --- a/core/io/resource_loader.h +++ b/core/io/resource_loader.h @@ -167,7 +167,8 @@ private: String remapped_path; String dependent_path; String type_hint; - float progress = 0.0; + float progress = 0.0f; + float max_reported_progress = 0.0f; ThreadLoadStatus status = THREAD_LOAD_IN_PROGRESS; ResourceFormatLoader::CacheMode cache_mode = ResourceFormatLoader::CACHE_MODE_REUSE; Error error = OK; |