Hello,
I've got a window of a specific size (512 x 512), and any images whose height is lower than this (256) or greater than this (1024, 2048), have their sprite rescaled to match the 512 requirement.
The problem is, I find the scale/resize system relative rather than absolute, so, for example:
If I load an image that is 256 to sprite, and resize/scale sprite to fit 512, and then I reload another image (also 256), and then resize/rescale sprite - instead of sprite still being 512, sprite becomes 1024, 2048 etc etc.
How do I make it so the scaling of sprite is reset to normal?
Thank you.