I'm having issues with textures. I want to use a group of textures over and over again. This is what i'm doing.
1. Create all textures of certain size.
2. update textures from image takes up the whole texture space.
3. update textures from a different image that is smaller than the textures.
~~~~~this keeps the un-updated parts of the texture unaltered(because the new image is smaller), and the space the new image takes up update correctly.
So basically the update function doesn't clear the texture. Is there anyway to clear a texture? I tried the loadFromImage() function, but it stretches the image to fit the texture size sometimes. I don't know why it does that, but it looks very weird.