diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-25 12:38:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-25 12:38:58 +0200 |
commit | 2f221e5fd507b176590bda52d08e499629ce7761 (patch) | |
tree | c24961857c5e7ccacc3291d22c1e4dabcee3c12b /core/io/resource_loader.h | |
parent | a0f7f42b842462646281f5c4c9a8db070e034adc (diff) | |
parent | 3564c16cb851e2c5ae9f75d928e2f501ce5e3d6a (diff) |
Merge pull request #50250 from luzpaz/typos
Fix various typos
Diffstat (limited to 'core/io/resource_loader.h')
-rw-r--r-- | core/io/resource_loader.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/io/resource_loader.h b/core/io/resource_loader.h index b9e234fdd2..e525e80a9d 100644 --- a/core/io/resource_loader.h +++ b/core/io/resource_loader.h @@ -40,9 +40,9 @@ class ResourceFormatLoader : public RefCounted { public: enum CacheMode { - CACHE_MODE_IGNORE, //resource and subresources do not use path cache, no path is set into resource. - CACHE_MODE_REUSE, //resource and subresources use patch cache, reuse existing loaded resources instead of loading from disk when available - CACHE_MODE_REPLACE, //resource and and subresource use path cache, but replace existing loaded resources when available with information from disk + CACHE_MODE_IGNORE, // Resource and subresources do not use path cache, no path is set into resource. + CACHE_MODE_REUSE, // Resource and subresources use patch cache, reuse existing loaded resources instead of loading from disk when available. + CACHE_MODE_REPLACE, // Resource and subresource use path cache, but replace existing loaded resources when available with information from disk. }; protected: @@ -108,7 +108,7 @@ private: friend class ResourceFormatImporter; friend class ResourceInteractiveLoader; - //internal load function + // Internal load function. static RES _load(const String &p_path, const String &p_original_path, const String &p_type_hint, ResourceFormatLoader::CacheMode p_cache_mode, Error *r_error, bool p_use_sub_threads, float *r_progress); static ResourceLoadedCallback _loaded_callback; |