summaryrefslogtreecommitdiff
path: root/scene/resources/texture.h
diff options
context:
space:
mode:
authorPieter-Jan Briers <pieterjan.briers@gmail.com>2018-05-12 16:53:45 +0200
committerPieter-Jan Briers <pieterjan.briers@gmail.com>2018-05-14 19:11:41 +0200
commit622a754584d2b9442aee3d5c3835556451225262 (patch)
treeb5ea9e05c90b43b4a50aa477a8e3fce71d5ebca8 /scene/resources/texture.h
parent81b1d3c846de263cf843e9e0e9d7c0c0a94f65c8 (diff)
ImageTexture.load returns an error code.
Diffstat (limited to 'scene/resources/texture.h')
-rw-r--r--scene/resources/texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/texture.h b/scene/resources/texture.h
index 93d7ec4ef9..d81fd3b19b 100644
--- a/scene/resources/texture.h
+++ b/scene/resources/texture.h
@@ -124,7 +124,7 @@ public:
void set_flags(uint32_t p_flags);
uint32_t get_flags() const;
Image::Format get_format() const;
- void load(const String &p_path);
+ Error load(const String &p_path);
void set_data(const Ref<Image> &p_image);
Ref<Image> get_data() const;