Browse Source

Merge pull request #66222 from Mickeon/gradual-destruction

Remove unused struct in GradientTexture1D
Rémi Verschelde 3 years ago
parent
commit
2d598bbf9a
1 changed files with 0 additions and 9 deletions
  1. 0 9
      scene/resources/texture.h

+ 0 - 9
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;