mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Added a setter to ImageComponent for mForceLoad.
This commit is contained in:
parent
89aefab54c
commit
edc11e6255
|
@ -30,6 +30,8 @@ public:
|
|||
// Use an already existing texture.
|
||||
void setImage(const std::shared_ptr<TextureResource>& 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
|
||||
|
|
Loading…
Reference in a new issue