Merge pull request #86725 from Mickeon/3-x-remove-unused

[3.x] Remove unused struct in GradientTexture1D
This commit is contained in:
Rémi Verschelde 2024-01-05 11:07:44 +01:00
commit e653473646
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -619,15 +619,6 @@ public:
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> gradient;
bool update_pending;