Browse Source

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

[3.x] Remove unused struct in GradientTexture1D
Rémi Verschelde 1 year ago
parent
commit
e653473646
1 changed files with 0 additions and 9 deletions
  1. 0 9
      scene/resources/texture.h

+ 0 - 9
scene/resources/texture.h

@@ -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;