Removed an unnecessary force load setter from ImageComponent.

This commit is contained in:
Leon Styhre 2021-10-26 18:28:21 +02:00
parent 4e02ce230b
commit fbb974de03

View file

@ -30,8 +30,6 @@ public:
// Use an already existing texture. // Use an already existing texture.
void setImage(const std::shared_ptr<TextureResource>& texture, bool resizeTexture = true); void setImage(const std::shared_ptr<TextureResource>& texture, bool resizeTexture = true);
void setForceLoad(bool status) { mForceLoad = status; }
void onSizeChanged() override { updateVertices(); } void onSizeChanged() override { updateVertices(); }
// Resize the image to fit this size. If one axis is zero, scale that axis to maintain // Resize the image to fit this size. If one axis is zero, scale that axis to maintain