Brian Fisher wrote:
textures have to be a power-of-2 in width and height - so you have to deal with that to upload say a 24x12 image for blitting. The 3 basic approaches are:
There's also 4. Scale the texture image so that it has power-of-2 sizes which may work well enough for photographic images and such like where you're not too concerned about the appearance of fine details. -- Greg