diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-22 08:26:20 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-22 08:26:20 +0200 |
commit | 2d598bbf9aa47ab80300d64203af8ddd7e542bb0 (patch) | |
tree | 69218eb4a67054e6b7760a8224a30af97b385c9f /scene | |
parent | e5c544750c04951922dadff1c765d035414d0e28 (diff) | |
parent | 3cae53ba70b3b926eec61e2c4d89ac82ffdf6cce (diff) |
Merge pull request #66222 from Mickeon/gradual-destruction
Remove unused struct in GradientTexture1D
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/texture.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/scene/resources/texture.h b/scene/resources/texture.h index da4b8046a5..4e529de8ee 100644 --- a/scene/resources/texture.h +++ b/scene/resources/texture.h @@ -769,15 +769,6 @@ public: class GradientTexture1D : public Texture2D { GDCLASS(GradientTexture1D, Texture2D); -public: - struct Point { - float offset = 0.0; - Color color; - bool operator<(const Point &p_ponit) const { - return offset < p_ponit.offset; - } - }; - private: Ref<Gradient> gradient; bool update_pending = false; |