From c4eb1ca969b505e32ddc58cf360dab8863bbb73b Mon Sep 17 00:00:00 2001 From: Micky Date: Wed, 12 Oct 2022 18:17:51 +0200 Subject: [PATCH] [3.x] Remove unused struct in GradientTexture1D --- scene/resources/texture.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scene/resources/texture.h b/scene/resources/texture.h index b1002953d245..03408eb18ec8 100644 --- a/scene/resources/texture.h +++ b/scene/resources/texture.h @@ -608,15 +608,6 @@ class CurveTexture : public Texture { class GradientTexture : public Texture { GDCLASS(GradientTexture, Texture); -public: - struct Point { - float offset; - Color color; - bool operator<(const Point &p_ponit) const { - return offset < p_ponit.offset; - } - }; - private: Ref gradient; bool update_pending;