From fbb974de0316eb8b5a247fad3278a1354be8d4fb Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 26 Oct 2021 18:28:21 +0200 Subject: [PATCH] Removed an unnecessary force load setter from ImageComponent. --- es-core/src/components/ImageComponent.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/es-core/src/components/ImageComponent.h b/es-core/src/components/ImageComponent.h index 0f22d86a1..e91955204 100644 --- a/es-core/src/components/ImageComponent.h +++ b/es-core/src/components/ImageComponent.h @@ -30,8 +30,6 @@ public: // Use an already existing texture. void setImage(const std::shared_ptr& texture, bool resizeTexture = true); - void setForceLoad(bool status) { mForceLoad = status; } - void onSizeChanged() override { updateVertices(); } // Resize the image to fit this size. If one axis is zero, scale that axis to maintain