diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-03 14:28:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 14:28:18 +0200 |
commit | 297241f368632dd91a3e7df47da3d9e5197e4f1e (patch) | |
tree | 78eba933e9940b9a65bbe1ee02027a61e98f6716 /modules/dds/texture_loader_dds.h | |
parent | 77c9138e7274f0b7d2ae1327748774ab74bd5d5c (diff) | |
parent | 180e5d30286279c979507a571bf6d336aa49da9d (diff) |
Merge pull request #60714 from Calinou/typedef-remove-ref
Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`
Diffstat (limited to 'modules/dds/texture_loader_dds.h')
-rw-r--r-- | modules/dds/texture_loader_dds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dds/texture_loader_dds.h b/modules/dds/texture_loader_dds.h index 25ded4e168..701f8f4a13 100644 --- a/modules/dds/texture_loader_dds.h +++ b/modules/dds/texture_loader_dds.h @@ -36,7 +36,7 @@ class ResourceFormatDDS : public ResourceFormatLoader { public: - virtual RES load(const String &p_path, const String &p_original_path = "", Error *r_error = nullptr, bool p_use_sub_threads = false, float *r_progress = nullptr, CacheMode p_cache_mode = CACHE_MODE_REUSE); + virtual Ref<Resource> load(const String &p_path, const String &p_original_path = "", Error *r_error = nullptr, bool p_use_sub_threads = false, float *r_progress = nullptr, CacheMode p_cache_mode = CACHE_MODE_REUSE); virtual void get_recognized_extensions(List<String> *p_extensions) const; virtual bool handles_type(const String &p_type) const; virtual String get_resource_type(const String &p_path) const; |